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

[commits] r2279 - in /branches/eglibc-2_6: libc/ ports/ ports/sysdeps/mips/mips64/soft-fp/ ports/sysdeps/powerpc/nofpu/ ports/sysdeps/...



Author: joseph
Date: Thu May 24 09:39:40 2007
New Revision: 2279

Log:
Merge changes between r2243 and r2277 from /fsf/glibc-2_6-branch.

Added:
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
      - copied unchanged from r2277, fsf/glibc-2_6-branch/ports/sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c
      - copied unchanged from r2277, fsf/glibc-2_6-branch/ports/sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/mips/mips32/readahead.c
      - copied unchanged from r2277, fsf/glibc-2_6-branch/ports/sysdeps/unix/sysv/linux/mips/mips32/readahead.c
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
      - copied unchanged from r2277, fsf/glibc-2_6-branch/ports/sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c
      - copied unchanged from r2277, fsf/glibc-2_6-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
      - copied unchanged from r2277, fsf/glibc-2_6-branch/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
Modified:
    branches/eglibc-2_6/libc/ChangeLog
    branches/eglibc-2_6/ports/ChangeLog.arm
    branches/eglibc-2_6/ports/ChangeLog.hppa
    branches/eglibc-2_6/ports/ChangeLog.mips
    branches/eglibc-2_6/ports/ChangeLog.powerpc
    branches/eglibc-2_6/ports/sysdeps/mips/mips64/soft-fp/Makefile   (props changed)
    branches/eglibc-2_6/ports/sysdeps/powerpc/nofpu/feholdexcpt.c
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/sysdep.c
    branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h

Modified: branches/eglibc-2_6/libc/ChangeLog
==============================================================================
--- branches/eglibc-2_6/libc/ChangeLog (original)
+++ branches/eglibc-2_6/libc/ChangeLog Thu May 24 09:39:40 2007
@@ -9,7 +9,6 @@
 	sizes.
 
 2007-05-13  Ulrich Drepper  <drepper@xxxxxxxxxx>
-
 	* malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum
 	number of mmaps.  n_mmaps_max is the target.
 	* malloc/hooks.c: Likewise.

Modified: branches/eglibc-2_6/ports/ChangeLog.arm
==============================================================================
--- branches/eglibc-2_6/ports/ChangeLog.arm (original)
+++ branches/eglibc-2_6/ports/ChangeLog.arm Thu May 24 09:39:40 2007
@@ -1,3 +1,25 @@
+2007-05-23  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/arm/kernel-features.h
+	(__ASSUME_SIGFRAME_V2): Define for 2.6.18 and later.
+	* sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S
+	(__default_sa_restorer): Rename to __default_sa_restorer_v1.
+	Don't define if __ASSUME_SIGFRAME_V2.
+	(__default_rt_sa_restorer): Rename to
+	__default_rt_sa_restorer_v1.  Don't define if
+	__ASSUME_SIGFRAME_V2.
+	(__default_sa_restorer_v2, __default_rt_sa_restorer_v2): New.
+	* sysdeps/unix/sysv/linux/arm/nptl/Versions
+	(__default_sa_restorer_v1, __default_rt_sa_restorer_v1,
+	__default_sa_restorer_v2, __default_rt_sa_restorer_v2): Add to
+	GLIBC_PRIVATE.
+	* sysdeps/unix/sysv/linux/arm/sigaction.c [__ARM_EABI__]
+	(__default_sa_restorer_v1, __default_sa_restorer_v2,
+	__default_rt_sa_restorer_v1, __default_rt_sa_restorer_v2):
+	Declare.
+	(__default_sa_restorer, __default_rt_sa_restorer): Define as
+	macros depending on kernel version.
+
 2007-01-23  Daniel Jacobowitz  <dan@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):

Modified: branches/eglibc-2_6/ports/ChangeLog.hppa
==============================================================================
--- branches/eglibc-2_6/ports/ChangeLog.hppa (original)
+++ branches/eglibc-2_6/ports/ChangeLog.hppa Thu May 24 09:39:40 2007
@@ -1,3 +1,18 @@
+2007-05-17  Carlos O'Donell  <carlos@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h 
+	(SEM_VALUE_MAX): Remove.
+
+2007-05-17  Carlos O'Donell  <carlos@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
+	(PIC_REG_USE): Define.
+	(INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
+	(INTERNAL_SYSCALL): Likewise.
+	(INTERNAL_SYSCALL_NCS): Likewise.
+	* sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use 
+	PIC_REG_DEF, PIC_REG_USE.
+
 2007-05-01  Carlos O'Donell  <carlos@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h

Modified: branches/eglibc-2_6/ports/ChangeLog.mips
==============================================================================
--- branches/eglibc-2_6/ports/ChangeLog.mips (original)
+++ branches/eglibc-2_6/ports/ChangeLog.mips Thu May 24 09:39:40 2007
@@ -1,3 +1,32 @@
+2007-05-24  Atsushi Nemoto  <anemo@xxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
+	(posix_fadvise): Fix high word of len argument.
+
+2007-05-23  Atsushi Nemoto  <anemo@xxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
+	* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
+	* sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
+	* sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
+	* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
+	* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
+
+2007-05-23  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
+	* sysdeps/mips/mips64/n64/Implies: Likewise.
+	* sysdeps/mips/mips64/soft-fp/Makefile: New.
+	* sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
+	* sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
+	<fpu_control.h>.  Use hardware exception and rounding mode
+	settings.
+
+2007-05-23  Richard Sandiford  <rsandifo@xxxxxxxxxxxxx>
+
+	* sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
+	r_info argument to ElfW(Addr).
+
 2007-02-01  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/mips/bits/mathdef.h (float_t): Change to float.

Modified: branches/eglibc-2_6/ports/ChangeLog.powerpc
==============================================================================
--- branches/eglibc-2_6/ports/ChangeLog.powerpc (original)
+++ branches/eglibc-2_6/ports/ChangeLog.powerpc Thu May 24 09:39:40 2007
@@ -1,3 +1,9 @@
+2007-05-23  Steven Munroe  <sjmunroe@xxxxxxxxxx>
+
+	* sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Disable
+	exceptions.  Use the updated env in fesetenv().
+	Add libm_hidden_def.
+
 2007-01-23  Steven Munroe  <sjmunroe@xxxxxxxxxx>
 
 	[BZ #2749]

Propchange: branches/eglibc-2_6/ports/sysdeps/mips/mips64/soft-fp/Makefile
------------------------------------------------------------------------------
    svn:mime-type = audio/x-669-mod

Modified: branches/eglibc-2_6/ports/sysdeps/powerpc/nofpu/feholdexcpt.c
==============================================================================
--- branches/eglibc-2_6/ports/sysdeps/powerpc/nofpu/feholdexcpt.c (original)
+++ branches/eglibc-2_6/ports/sysdeps/powerpc/nofpu/feholdexcpt.c Thu May 24 09:39:40 2007
@@ -1,6 +1,6 @@
 /* Store current floating-point environment and clear exceptions
    (soft-float edition).
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2007 Free Software Foundation, Inc.
    Contributed by Aldy Hernandez <aldyh@xxxxxxxxxx>, 2002.
    This file is part of the GNU C Library.
 
@@ -33,11 +33,12 @@
   u.fenv = *envp;
   /* Clear everything except the rounding mode.  */
   u.l[0] &= 0x3;
-
-  /* ?? Should we clear the disabled exceptions as well ?? */
+  /* Disable exceptions */
+  u.l[1] = FE_ALL_EXCEPT;
 
   /* Put the new state in effect.  */
-  fesetenv (envp);
+  fesetenv (&u.fenv);
 
   return 0;
 }
+libm_hidden_def (feholdexcept)

Modified: branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
==============================================================================
--- branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h (original)
+++ branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h Thu May 24 09:39:40 2007
@@ -20,16 +20,10 @@
 # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead."
 #endif
 
-
 #define __SIZEOF_SEM_T	16
-
 
 /* Value returned if `sem_open' failed.  */
 #define SEM_FAILED      ((sem_t *) 0)
-
-/* Maximum value the semaphore can have.  */
-#define SEM_VALUE_MAX   ((int) ((~0u) >> 1))
-
 
 typedef union
 {

Modified: branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/sysdep.c
==============================================================================
--- branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/sysdep.c (original)
+++ branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/sysdep.c Thu May 24 09:39:40 2007
@@ -1,4 +1,5 @@
-/* Copyright (C) 1997, 1998, 2001, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2001, 2003, 2007 
+   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,13 +59,14 @@
   
   {
     register unsigned long int __res asm("r28");
+    PIC_REG_DEF
     LOAD_ARGS_6 (arg0, arg1, arg2, arg3, arg4, arg5)
     asm volatile (SAVE_ASM_PIC
 		  "	ble  0x100(%%sr2, %%r0)	\n"
 		  "	copy %1, %%r20		\n"
 		  LOAD_ASM_PIC
 		  : "=r" (__res)
-		  : "r" (__sysno) ASM_ARGS_6
+		  : "r" (__sysno) PIC_REG_USE ASM_ARGS_6
 		  : "memory", CALL_CLOB_REGS CLOB_ARGS_6);
     __sys_res = __res;
   }

Modified: branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
==============================================================================
--- branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h (original)
+++ branches/eglibc-2_6/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h Thu May 24 09:39:40 2007
@@ -1,5 +1,6 @@
 /* Assembler macros for PA-RISC.
-   Copyright (C) 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2001, 2002, 2003, 2007 
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper, <drepper@xxxxxxxxxx>, August 1999.
    Linux/PA-RISC changes by Philipp Rumpf, <prumpf@xxxxxxx>, March 2000.
@@ -40,7 +41,9 @@
 # define TREG_ASM "%r4" /* Cant clobber r3, it holds framemarker */
 # define SAVE_ASM_PIC	"       copy %%r19, %" TREG_ASM "\n"
 # define LOAD_ASM_PIC	"       copy %" TREG_ASM ", %%r19\n"
-# define USING_TREG	TREG_ASM,
+# define CLOB_TREG	TREG_ASM ,
+# define PIC_REG_DEF	register unsigned long __r19 asm("r19");
+# define PIC_REG_USE	, "r" (__r19)
 #else
 # define TREG %r3
 # define SAVE_PIC(SREG) nop ASM_LINE_SEP
@@ -49,7 +52,9 @@
 # define TREG_ASM 
 # define SAVE_ASM_PIC	"nop \n"
 # define LOAD_ASM_PIC	"nop \n"
-# define USING_TREG
+# define CLOB_TREG
+# define PIC_REG_DEF
+# define PIC_REG_USE
 #endif
 
 #ifdef __ASSEMBLER__
@@ -344,7 +349,7 @@
    TREG is clobbered and use that register to save/restore r19
    across the syscall. */
 
-#define CALL_CLOB_REGS	"%r1", "%r2", USING_TREG \
+#define CALL_CLOB_REGS	"%r1", "%r2", CLOB_TREG \
 		 	"%r20", "%r29", "%r31"
 
 #undef INLINE_SYSCALL
@@ -353,6 +358,7 @@
 	long __sys_res;							\
 	{								\
 		register unsigned long __res asm("r28");		\
+		PIC_REG_DEF						\
 		LOAD_ARGS_##nr(args)					\
 		/* FIXME: HACK save/load r19 around syscall */		\
 		asm volatile(						\
@@ -361,7 +367,7 @@
 			"	ldi %1, %%r20\n"			\
 			LOAD_ASM_PIC					\
 			: "=r" (__res)					\
-			: "i" (SYS_ify(name)) ASM_ARGS_##nr		\
+			: "i" (SYS_ify(name)) PIC_REG_USE ASM_ARGS_##nr	\
 			: "memory", CALL_CLOB_REGS CLOB_ARGS_##nr	\
 		);							\
 		__sys_res = (long)__res;				\
@@ -398,6 +404,7 @@
 	long __sys_res;							\
 	{								\
 		register unsigned long __res asm("r28");		\
+		PIC_REG_DEF						\
 		LOAD_ARGS_##nr(args)					\
 		/* FIXME: HACK save/load r19 around syscall */		\
 		asm volatile(						\
@@ -406,7 +413,7 @@
 			"	ldi %1, %%r20\n"			\
 			LOAD_ASM_PIC					\
 			: "=r" (__res)					\
-			: "i" (SYS_ify(name)) ASM_ARGS_##nr		\
+			: "i" (SYS_ify(name)) PIC_REG_USE ASM_ARGS_##nr	\
 			: "memory", CALL_CLOB_REGS CLOB_ARGS_##nr	\
 		);							\
 		__sys_res = (long)__res;				\
@@ -422,6 +429,7 @@
 	long __sys_res;							\
 	{								\
 		register unsigned long __res asm("r28");		\
+		PIC_REG_DEF						\
 		LOAD_ARGS_##nr(args)					\
 		/* FIXME: HACK save/load r19 around syscall */		\
 		asm volatile(						\
@@ -430,7 +438,7 @@
 			"	copy %1, %%r20\n"			\
 			LOAD_ASM_PIC					\
 			: "=r" (__res)					\
-			: "r" (name) ASM_ARGS_##nr			\
+			: "r" (name) PIC_REG_USE ASM_ARGS_##nr		\
 			: "memory", CALL_CLOB_REGS CLOB_ARGS_##nr	\
 		);							\
 		__sys_res = (long)__res;				\