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

[commits] r8731 - in /fsf/glibc-2_10-branch/ports: ./ bare/ sysdeps/mips/ sysdeps/unix/bsd/sun/sunos4/ sysdeps/unix/sysv/linux/arm/ sy...



Author: eglibc
Date: Thu Jul 30 15:22:14 2009
New Revision: 8731

Log:
Import glibc-ports-2.10 for 2009-07-30

Added:
    fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c
    fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c
Removed:
    fsf/glibc-2_10-branch/ports/.cvsignore
    fsf/glibc-2_10-branch/ports/bare/.cvsignore
    fsf/glibc-2_10-branch/ports/sysdeps/mips/.cvsignore
    fsf/glibc-2_10-branch/ports/sysdeps/unix/bsd/sun/sunos4/.cvsignore
Modified:
    fsf/glibc-2_10-branch/ports/ChangeLog.arm
    fsf/glibc-2_10-branch/ports/ChangeLog.mips
    fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h
    fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/bits/socket.h
    fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h

Modified: fsf/glibc-2_10-branch/ports/ChangeLog.arm
==============================================================================
--- fsf/glibc-2_10-branch/ports/ChangeLog.arm (original)
+++ fsf/glibc-2_10-branch/ports/ChangeLog.arm Thu Jul 30 15:22:14 2009
@@ -1,3 +1,13 @@
+2009-07-29  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/arm/kernel-features.h: Define
+	__ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
+
+2009-05-16  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_PREADV,
+	__ASSUME_PWRITEV): Don't undefine.
+
 2009-04-25  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
 
 	* sysdeps/arm/eabi/fpu_control.h: If soft-float, don't use

Modified: fsf/glibc-2_10-branch/ports/ChangeLog.mips
==============================================================================
--- fsf/glibc-2_10-branch/ports/ChangeLog.mips (original)
+++ fsf/glibc-2_10-branch/ports/ChangeLog.mips Thu Jul 30 15:22:14 2009
@@ -1,3 +1,18 @@
+2009-07-20  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
+	__ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
+
+2009-06-18  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
+	and AF_IEEE802154.
+
+2009-05-14  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
+	sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
+
 2009-04-18  Maciej W. Rozycki  <macro@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/mips/getcontext.S: New file.

Modified: fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h
==============================================================================
--- fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h (original)
+++ fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h Thu Jul 30 15:22:14 2009
@@ -51,10 +51,14 @@
 # define __ASSUME_SIGFRAME_V2	1
 #endif
 
+/* Support for the eventfd2 and signalfd4 syscalls was added in 2.6.27.  */
+#if __LINUX_KERNEL_VERSION >= 0x02061b
+# define __ASSUME_EVENTFD2	1
+# define __ASSUME_SIGNALFD4	1
+#endif
+
 #include_next <kernel-features.h>
 
 /* These syscalls are not implemented yet for ARM.  */
 #undef __ASSUME_PSELECT
 #undef __ASSUME_PPOLL
-#undef __ASSUME_PREADV
-#undef __ASSUME_PWRITEV

Modified: fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/bits/socket.h
==============================================================================
--- fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/bits/socket.h (original)
+++ fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/bits/socket.h Thu Jul 30 15:22:14 2009
@@ -1,6 +1,6 @@
 /* System-specific socket constants and types.  Linux/MIPS version.
-   Copyright (C) 1991, 92, 1994-1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008
-   Free Software Foundation, Inc.
+   Copyright (C) 1991, 92, 1994-1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008,
+   2009 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
@@ -108,7 +108,8 @@
 #define PF_RXRPC	33	/* RxRPC sockets.  */
 #define PF_ISDN		34	/* mISDN sockets.  */
 #define PF_PHONET	35	/* Phonet sockets.  */
-#define	PF_MAX		36	/* For now..  */
+#define PF_IEEE802154	36	/* IEEE 802.15.4 sockets.  */
+#define	PF_MAX		37	/* For now..  */
 
 /* Address families.  */
 #define	AF_UNSPEC	PF_UNSPEC
@@ -148,6 +149,7 @@
 #define AF_RXRPC	PF_RXRPC
 #define AF_ISDN		PF_ISDN
 #define AF_PHONET	PF_PHONET
+#define AF_IEEE802154	PF_IEEE802154
 #define	AF_MAX		PF_MAX
 
 /* Socket level values.  Others are defined in the appropriate headers.

Modified: fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h
==============================================================================
--- fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h (original)
+++ fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h Thu Jul 30 15:22:14 2009
@@ -31,4 +31,10 @@
 # define __ASSUME_FCNTL64		1
 #endif
 
+/* Support for the eventfd2 and signalfd4 syscalls was added in 2.6.27.  */
+#if __LINUX_KERNEL_VERSION >= 0x02061c
+# define __ASSUME_EVENTFD2	1
+# define __ASSUME_SIGNALFD4	1
+#endif
+
 #include_next <kernel-features.h>

Added: fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c
==============================================================================
--- fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c (added)
+++ fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c Thu Jul 30 15:22:14 2009
@@ -1,0 +1,1 @@
+/* Empty since the preadv syscall is equivalent.  */

Added: fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c
==============================================================================
--- fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c (added)
+++ fsf/glibc-2_10-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c Thu Jul 30 15:22:14 2009
@@ -1,0 +1,1 @@
+/* Empty since the pwritev syscall is equivalent.  */