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

[Commits] r18252 - in /fsf/trunk/ports: ./ sysdeps/alpha/bits/ sysdeps/alpha/fpu/bits/ sysdeps/unix/alpha/ sysdeps/unix/sysv/linux/alp...



Author: eglibc
Date: Sat Apr 28 00:01:57 2012
New Revision: 18252

Log:
Import glibc-ports-mainline for 2012-04-28

Modified:
    fsf/trunk/ports/ChangeLog.alpha
    fsf/trunk/ports/ChangeLog.mips
    fsf/trunk/ports/sysdeps/alpha/bits/mathdef.h
    fsf/trunk/ports/sysdeps/alpha/fpu/bits/fenv.h
    fsf/trunk/ports/sysdeps/unix/alpha/sysdep.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/oldglob.c
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sys/acct.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sysdep.h
    fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/configure
    fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/configure.in

Modified: fsf/trunk/ports/ChangeLog.alpha
==============================================================================
--- fsf/trunk/ports/ChangeLog.alpha (original)
+++ fsf/trunk/ports/ChangeLog.alpha Sat Apr 28 00:01:57 2012
@@ -1,3 +1,24 @@
+2012-04-26  Matt Turner  <mattst88@xxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/alpha/kernel-features.h: Correct kernel
+	version needed to define __ASSUME_ACCEPT4.
+
+	* sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo): Use "c"
+	and "e" in fopen.
+
+	* sysdeps/unix/sysv/linux/alpha/bits/mman.h (MAP_STACK): Define.
+	(MAP_HUGETLB): Likewise.
+
+	* sysdeps/alpha/bits/mathdef.h: Remove __STDC__ conditionals.
+	* sysdeps/unix/alpha/sysdep.h: Likewise.
+	* sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
+
+	* sysdeps/alpha/fpu/bits/fenv.h: Use const instead of __const.
+	* sysdeps/unix/sysv/linux/alpha/oldglob.c: Likewise.
+	* sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
+
+	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_PATH): Define.
+
 2012-03-27  Richard Henderson  <rth@xxxxxxxxxxx>
 
 	* sysdeps/alpha/elf/configure.in: Move to ...

Modified: fsf/trunk/ports/ChangeLog.mips
==============================================================================
--- fsf/trunk/ports/ChangeLog.mips (original)
+++ fsf/trunk/ports/ChangeLog.mips Sat Apr 28 00:01:57 2012
@@ -1,3 +1,9 @@
+2012-04-27  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
+	Change to 2.6.12.
+	* sysdeps/unix/sysv/linux/mips/configure: Regenerated.
+
 2012-04-26  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/mips/brk.S: Remove file.

Modified: fsf/trunk/ports/sysdeps/alpha/bits/mathdef.h
==============================================================================
--- fsf/trunk/ports/sysdeps/alpha/bits/mathdef.h (original)
+++ fsf/trunk/ports/sysdeps/alpha/bits/mathdef.h Sat Apr 28 00:01:57 2012
@@ -1,5 +1,4 @@
-/* Copyright (C) 1997,1998,1999,2000,2003,2004,2006
-	Free Software Foundation, Inc.
+/* Copyright (C) 1997-2012 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
@@ -27,19 +26,11 @@
 # define _MATH_H_MATHDEF	1
 
 # ifdef __GNUC__
-#  if __STDC__ == 1
 
 /* In GNU or ANSI mode, gcc leaves `float' expressions as-is.  */
 typedef float float_t;
 typedef double double_t;
 
-#  else
-
-/* For `gcc -traditional', `float' expressions are evaluated as `double'. */
-typedef double float_t;
-typedef double double_t;
-
-#  endif
 # else
 
 /* Wild guess at types for float_t and double_t. */

Modified: fsf/trunk/ports/sysdeps/alpha/fpu/bits/fenv.h
==============================================================================
--- fsf/trunk/ports/sysdeps/alpha/fpu/bits/fenv.h (original)
+++ fsf/trunk/ports/sysdeps/alpha/fpu/bits/fenv.h Sat Apr 28 00:01:57 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2012 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
@@ -106,15 +106,15 @@
 /* If the default argument is used we use this value.  Note that due to
    architecture-specified page mappings, no user-space pointer will ever
    have its two high bits set.  Co-opt one.  */
-#define FE_DFL_ENV	((__const fenv_t *) 0x8800000000000000UL)
+#define FE_DFL_ENV	((const fenv_t *) 0x8800000000000000UL)
 
 #ifdef __USE_GNU
 /* Floating-point environment where none of the exceptions are masked.  */
-# define FE_NOMASK_ENV	((__const fenv_t *) 0x880000000000003eUL)
+# define FE_NOMASK_ENV	((const fenv_t *) 0x880000000000003eUL)
 
 /* Floating-point environment with (processor-dependent) non-IEEE floating
    point.  In this case, mapping denormals to zero.  */
-# define FE_NONIEEE_ENV ((__const fenv_t *) 0x8800000000003000UL)
+# define FE_NONIEEE_ENV ((const fenv_t *) 0x8800000000003000UL)
 #endif
 
 /* The system calls to talk to the kernel's FP code.  */

Modified: fsf/trunk/ports/sysdeps/unix/alpha/sysdep.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/alpha/sysdep.h (original)
+++ fsf/trunk/ports/sysdeps/unix/alpha/sysdep.h Sat Apr 28 00:01:57 2012
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 2000, 2003, 2004, 2006, 2010, 2012
-   Free Software Foundation, Inc.
+/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@xxxxxxx).
 
@@ -32,11 +31,7 @@
 #endif
 
 
-#ifdef __STDC__
 #define __LABEL(x)	x##:
-#else
-#define __LABEL(x)	x/**/:
-#endif
 
 #define LEAF(name, framesize)			\
   .globl name;					\

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h Sat Apr 28 00:01:57 2012
@@ -52,6 +52,7 @@
 #ifdef __USE_GNU
 # define O_DIRECT	02000000 /* Direct disk access.  */
 # define O_NOATIME	04000000 /* Do not set atime.  */
+# define O_PATH		040000000 /* Resolve pathname but do not open file.  */
 #endif
 
 #ifdef __USE_LARGEFILE64

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/bits/mman.h Sat Apr 28 00:01:57 2012
@@ -1,6 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/Alpha version.
-   Copyright (C) 1997, 1998, 2000, 2003, 2006, 2009
-   Free Software Foundation, Inc.
+   Copyright (C) 1997-2012 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
@@ -71,6 +70,8 @@
 # define MAP_NORESERVE	  0x10000	/* Don't check for reservations.  */
 # define MAP_POPULATE	  0x20000	/* Populate (prefault) pagetables.  */
 # define MAP_NONBLOCK	  0x40000	/* Do not block on IO.  */
+# define MAP_STACK	  0x80000	/* Allocation is for a stack.  */
+# define MAP_HUGETLB	  0x100000	/* Create huge page mapping.  */
 #endif
 
 /* Flags to `msync'.  */

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c Sat Apr 28 00:01:57 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1996-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by David Mosberger.
 
@@ -496,7 +496,7 @@
       return 1;
     }
 
-  fp = fopen (PATH_CPUINFO, "r");
+  fp = fopen (PATH_CPUINFO, "rce");
   if (!fp)
     return 0;
 

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/oldglob.c
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/oldglob.c (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/oldglob.c Sat Apr 28 00:01:57 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2004, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2012 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
@@ -36,9 +36,9 @@
        are used instead of the normal file access functions.  */
     void (*gl_closedir) (void *);
     struct dirent *(*gl_readdir) (void *);
-    __ptr_t (*gl_opendir) (__const char *);
-    int (*gl_lstat) (__const char *, struct stat *);
-    int (*gl_stat) (__const char *, struct stat *);
+    __ptr_t (*gl_opendir) (const char *);
+    int (*gl_lstat) (const char *, struct stat *);
+    int (*gl_stat) (const char *, struct stat *);
   } old_glob_t;
 
 

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sys/acct.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sys/acct.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sys/acct.h Sat Apr 28 00:01:57 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 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
@@ -58,7 +58,7 @@
 
 
 /* Switch process accounting on and off.  */
-extern int acct (__const char *__filename) __THROW;
+extern int acct (const char *__filename) __THROW;
 
 __END_DECLS
 

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sysdep.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sysdep.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/alpha/sysdep.h Sat Apr 28 00:01:57 2012
@@ -1,5 +1,4 @@
-/* Copyright (C) 1992, 1993, 1995, 1996, 1997, 2002, 2003, 2004, 2007
-   Free Software Foundation, Inc.
+/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper, <drepper@xxxxxxxxxxxxxx>, August 1995.
 
@@ -35,11 +34,7 @@
    of the kernel.  But these symbols do not follow the SYS_* syntax
    so we have to redefine the `SYS_ify' macro here.  */
 #undef SYS_ify
-#ifdef __STDC__
-# define SYS_ify(syscall_name)	__NR_##syscall_name
-#else
-# define SYS_ify(syscall_name)	__NR_/**/syscall_name
-#endif
+#define SYS_ify(syscall_name)	__NR_##syscall_name
 
 /* Define some aliases to make automatic syscall generation work
    properly.  The SYS_* variants are for the benefit of the files in

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/configure
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/configure (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/configure Sat Apr 28 00:01:57 2012
@@ -31,6 +31,6 @@
 esac
 
 if test -z "$arch_minimum_kernel"; then
-  arch_minimum_kernel=2.4.1
+  arch_minimum_kernel=2.6.12
   libc_cv_gcc_unwind_find_fde=yes
 fi

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/configure.in
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/configure.in (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/mips/configure.in Sat Apr 28 00:01:57 2012
@@ -32,6 +32,6 @@
 esac
 
 if test -z "$arch_minimum_kernel"; then
-  arch_minimum_kernel=2.4.1
+  arch_minimum_kernel=2.6.12
   libc_cv_gcc_unwind_find_fde=yes
 fi

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits