[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r11233 - in /fsf/trunk/ports: ./ sysdeps/unix/mips/mips64/n32/ sysdeps/unix/mips/mips64/n64/ sysdeps/unix/sysv/linux/arm/ sy...



Author: eglibc
Date: Sat Aug 14 00:03:31 2010
New Revision: 11233

Log:
Import glibc-ports-mainline for 2010-08-14

Modified:
    fsf/trunk/ports/ChangeLog.arm
    fsf/trunk/ports/ChangeLog.mips
    fsf/trunk/ports/sysdeps/unix/mips/mips64/n32/sysdep.h
    fsf/trunk/ports/sysdeps/unix/mips/mips64/n64/sysdep.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
    fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/termios.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h

Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Sat Aug 14 00:03:31 2010
@@ -1,3 +1,14 @@
+2010-08-13  Alexander Kanevskiy  <kad@xxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
+	Change "fast-mult" to "fastmult".  Add new HWCAP names.
+	* sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
+	Change to 15.
+	(HWCAP_IMPORTANT): Change to (HWCAP_ARM_VFP | HWCAP_ARM_NEON).
+	* sysdeps/unix/sysv/linux/arm/sysdep.h (HWCAP_ARM_CRUNCH,
+	HWCAP_ARM_THUMBEE, HWCAP_ARM_NEON, HWCAP_ARM_VFPv3,
+	HWCAP_ARM_VFPv3D16): Define.
+
 2010-08-12  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/arm/syscalls.list: Add entry for

Modified: fsf/trunk/ports/ChangeLog.mips
==============================================================================
--- fsf/trunk/ports/ChangeLog.mips (original)
+++ fsf/trunk/ports/ChangeLog.mips Sat Aug 14 00:03:31 2010
@@ -1,3 +1,18 @@
+2010-08-13  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/kernel-features.h
+	(__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
+
+2010-08-13  Chandrakala Chavva  <cchavva@xxxxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
+	jump delay slot.
+	* sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
+
+2010-08-13  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
+
 2010-08-12  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,

Modified: fsf/trunk/ports/sysdeps/unix/mips/mips64/n32/sysdep.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/mips/mips64/n32/sysdep.h (original)
+++ fsf/trunk/ports/sysdeps/unix/mips/mips64/n32/sysdep.h Sat Aug 14 00:03:31 2010
@@ -45,6 +45,7 @@
   .set noreorder;							      \
   .align 2;								      \
   99: j __syscall_error;						      \
+  nop;                                                                        \
   ENTRY(name)								      \
   .set noreorder;							      \
   li v0, SYS_ify(syscall_name);						      \

Modified: fsf/trunk/ports/sysdeps/unix/mips/mips64/n64/sysdep.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/mips/mips64/n64/sysdep.h (original)
+++ fsf/trunk/ports/sysdeps/unix/mips/mips64/n64/sysdep.h Sat Aug 14 00:03:31 2010
@@ -45,6 +45,7 @@
   .set noreorder;							      \
   .align 2;								      \
   99: j __syscall_error;						      \
+  nop;                                                                        \
   ENTRY(name)								      \
   .set noreorder;							      \
   li v0, SYS_ify(syscall_name);						      \

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.c (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.c Sat Aug 14 00:03:31 2010
@@ -47,12 +47,12 @@
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_arm_cap_flags
 #else
-PROCINFO_CLASS const char _dl_arm_cap_flags[10][10]
+PROCINFO_CLASS const char _dl_arm_cap_flags[15][10]
 #endif
 #ifndef PROCINFO_DECL
 = {
-    "swp", "half", "thumb", "26bit", "fast-mult", "fpa", "vfp", "edsp",
-    "java", "iwmmxt",
+    "swp", "half", "thumb", "26bit", "fastmult", "fpa", "vfp", "edsp",
+    "java", "iwmmxt", "crunch", "thumbee", "neon", "vfpv3", "vfpv3d16",
   }
 #endif
 #if !defined SHARED || defined PROCINFO_DECL

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h Sat Aug 14 00:03:31 2010
@@ -24,7 +24,7 @@
 #include <ldsodefs.h>
 #include <sysdep.h>
 
-#define _DL_HWCAP_COUNT 10
+#define _DL_HWCAP_COUNT 15
 
 /* The kernel provides platform data but it is not interesting.  */
 #define _DL_HWCAP_PLATFORM 	0
@@ -54,7 +54,7 @@
   return GLRO(dl_arm_cap_flags)[idx];
 };
 
-#define HWCAP_IMPORTANT		(HWCAP_ARM_HALF | HWCAP_ARM_FAST_MULT)
+#define HWCAP_IMPORTANT		(HWCAP_ARM_VFP | HWCAP_ARM_NEON)
 
 static inline int
 __attribute__ ((unused))

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/sysdep.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/sysdep.h Sat Aug 14 00:03:31 2010
@@ -55,6 +55,11 @@
 #define HWCAP_ARM_EDSP		128
 #define HWCAP_ARM_JAVA		256
 #define HWCAP_ARM_IWMMXT	512
+#define HWCAP_ARM_CRUNCH	1024
+#define HWCAP_ARM_THUMBEE	2048
+#define HWCAP_ARM_NEON		4096
+#define HWCAP_ARM_VFPv3		8192
+#define HWCAP_ARM_VFPv3D16	16384
 
 #ifdef __ASSEMBLER__
 

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/termios.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/termios.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/bits/termios.h Sat Aug 14 00:03:31 2010
@@ -1,5 +1,5 @@
 /* termios type and macro definitions.  Linux/MIPS version.
-   Copyright (C) 1993, 94, 95, 96, 97, 99 Free Software Foundation, Inc.
+   Copyright (C) 1993, 94, 95, 96, 97, 99, 2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -194,6 +194,9 @@
 #endif
 #define TOSTOP	0100000		/* Send SIGTTOU for background output.  */
 #define ITOSTOP	TOSTOP
+#ifdef __USE_BSD
+# define EXTPROC 0200000
+#endif
 
 /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
 #define TIOCSER_TEMT    0x01	/* Transmitter physically empty */

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h Sat Aug 14 00:03:31 2010
@@ -38,3 +38,9 @@
 #endif
 
 #include_next <kernel-features.h>
+
+/* The n32 syscall ABI did not have a getdents64 syscall until
+   2.6.35.  */
+#if _MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623
+# undef __ASSUME_GETDENTS64_SYSCALL
+#endif