external/glibc.git
12 years agoalpha: Define FP_TRAPPING_EXCEPTIONS
Richard Henderson [Fri, 15 Jun 2012 21:26:58 +0000 (14:26 -0700)]
alpha: Define FP_TRAPPING_EXCEPTIONS

12 years agoalpha: Always handle inexact in rint implementations
Richard Henderson [Fri, 15 Jun 2012 19:17:48 +0000 (12:17 -0700)]
alpha: Always handle inexact in rint implementations

12 years ago[BZ #13848] alpha: Fix s_nearbyint implementation.
Richard Henderson [Fri, 15 Jun 2012 19:17:11 +0000 (12:17 -0700)]
[BZ #13848] alpha: Fix s_nearbyint implementation.

12 years agoalpha: Use builtins for copysign
Richard Henderson [Fri, 15 Jun 2012 19:06:44 +0000 (12:06 -0700)]
alpha: Use builtins for copysign

12 years agoalpha: Fix protection on UTIME_NOW
Richard Henderson [Fri, 15 Jun 2012 19:05:26 +0000 (12:05 -0700)]
alpha: Fix protection on UTIME_NOW

12 years agoalpha: Add missing definitions in resource.h, shm.h
Richard Henderson [Fri, 15 Jun 2012 19:01:39 +0000 (12:01 -0700)]
alpha: Add missing definitions in resource.h, shm.h

12 years agoalpha: Remove some __GNUC_PREREQs that are too old
Richard Henderson [Fri, 15 Jun 2012 19:00:25 +0000 (12:00 -0700)]
alpha: Remove some __GNUC_PREREQs that are too old

12 years agoalpha: Fix float_t in bits/mathdef.h
Richard Henderson [Fri, 15 Jun 2012 18:56:47 +0000 (11:56 -0700)]
alpha: Fix float_t in bits/mathdef.h

12 years agoFix MIPS32 frame-pointer forcing for more recent GCC.
Joseph Myers [Thu, 14 Jun 2012 15:18:27 +0000 (15:18 +0000)]
Fix MIPS32 frame-pointer forcing for more recent GCC.

12 years agopowerpc-nofpu: Allow abort and soft-fp symbols to be absent in localplt test.
Joseph Myers [Wed, 13 Jun 2012 21:12:06 +0000 (21:12 +0000)]
powerpc-nofpu: Allow abort and soft-fp symbols to be absent in localplt test.

12 years agoUse HIDDEN_JUMPTARGET for _exit jump from __startcontext.
Joseph Myers [Tue, 12 Jun 2012 19:13:08 +0000 (19:13 +0000)]
Use HIDDEN_JUMPTARGET for _exit jump from __startcontext.

12 years agoUpdate powerpc-nofpu ABI baseline for __mcount_internal.
Joseph Myers [Fri, 8 Jun 2012 10:49:08 +0000 (10:49 +0000)]
Update powerpc-nofpu ABI baseline for __mcount_internal.

12 years agoalpha: Fix end-of-count checks in strncmp
Richard Henderson [Wed, 6 Jun 2012 21:51:05 +0000 (14:51 -0700)]
alpha: Fix end-of-count checks in strncmp

This routine suffered a similar problem as stxncpy in needing to
bias a potentially very large unsigned number with wraparound.
This exposed a secondary problem where we didn't properly handle
end-of-count condition for the second string input resulting in
stratcliff failures.

12 years agoalpha: Fix [BZ #13718]
Richard Henderson [Wed, 6 Jun 2012 21:45:45 +0000 (14:45 -0700)]
alpha: Fix [BZ #13718]

The routines expect to be able to bias the count by a small number.
If the count is near -1ull, the count will overflow.  Since we cannot
use the whole 64-bit address space, bound the count to LONG_MAX.

12 years agoalpha: Fix ev4 build with ev6 compiler
Richard Henderson [Wed, 6 Jun 2012 21:39:23 +0000 (14:39 -0700)]
alpha: Fix ev4 build with ev6 compiler

12 years agoalpha: Use cfi_startproc instead of dual procedure descriptors
Richard Henderson [Wed, 6 Jun 2012 21:35:00 +0000 (14:35 -0700)]
alpha: Use cfi_startproc instead of dual procedure descriptors

12 years agoalpha: put mcount prologue at correct location
Richard Henderson [Wed, 6 Jun 2012 21:23:21 +0000 (14:23 -0700)]
alpha: put mcount prologue at correct location

12 years agoalpha: Use .cfi_signal_frame in rt_sigaction
Richard Henderson [Tue, 5 Jun 2012 15:12:03 +0000 (08:12 -0700)]
alpha: Use .cfi_signal_frame in rt_sigaction

12 years agoalpha: Resurrect getppid, getegid, geteuid.
Richard Henderson [Tue, 5 Jun 2012 15:08:25 +0000 (08:08 -0700)]
alpha: Resurrect getppid, getegid, geteuid.

The sysdeps/unix files deleted in the main tree weren't unused.
Resurrect them in sysdeps/unix/alpha, and using the real syscall names.

12 years agoUse dbl-64 fma for MIPS64.
Joseph Myers [Fri, 1 Jun 2012 19:56:36 +0000 (19:56 +0000)]
Use dbl-64 fma for MIPS64.

12 years agoalpha: Use -mieee-with-inexact with math/test-misc
Richard Henderson [Fri, 1 Jun 2012 17:46:08 +0000 (10:46 -0700)]
alpha: Use -mieee-with-inexact with math/test-misc

12 years agoalpha: Update libm-test-ulps
Richard Henderson [Fri, 1 Jun 2012 16:46:25 +0000 (09:46 -0700)]
alpha: Update libm-test-ulps

12 years agoFix typo in MIPS abi-n32-condition.
Joseph Myers [Fri, 1 Jun 2012 14:42:11 +0000 (14:42 +0000)]
Fix typo in MIPS abi-n32-condition.

12 years agoRemove sqrt ulps for MIPS.
Joseph Myers [Thu, 31 May 2012 21:28:40 +0000 (21:28 +0000)]
Remove sqrt ulps for MIPS.

12 years agoMove Changelog entry from ChangeLog.tile to ChangeLog.linux-generic
Chris Metcalf [Thu, 31 May 2012 18:29:43 +0000 (14:29 -0400)]
Move Changelog entry from ChangeLog.tile to ChangeLog.linux-generic

12 years agoRegenerate powerpc-nofpu libm-test-ulps.
Joseph Myers [Thu, 31 May 2012 16:56:38 +0000 (16:56 +0000)]
Regenerate powerpc-nofpu libm-test-ulps.

12 years agoalpha: Add -mieee-with-inexact for fma compilation
Richard Henderson [Thu, 31 May 2012 03:55:56 +0000 (20:55 -0700)]
alpha: Add -mieee-with-inexact for fma compilation

12 years agoalpha: Fix error path for PIC __brk
Richard Henderson [Thu, 31 May 2012 03:53:54 +0000 (20:53 -0700)]
alpha: Fix error path for PIC __brk

12 years agoRegenerate MIPS libm-test-ulps.
Joseph Myers [Thu, 31 May 2012 11:13:57 +0000 (11:13 +0000)]
Regenerate MIPS libm-test-ulps.

12 years agoia64: use hidden_def with internal pthread funcs
Mike Frysinger [Thu, 31 May 2012 04:02:00 +0000 (00:02 -0400)]
ia64: use hidden_def with internal pthread funcs

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoia64: remove __connect_internal alias
Mike Frysinger [Thu, 31 May 2012 04:00:14 +0000 (00:00 -0400)]
ia64: remove __connect_internal alias

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agotile: Remove __connect_internal alias
Chris Metcalf [Wed, 30 May 2012 23:48:28 +0000 (19:48 -0400)]
tile: Remove __connect_internal alias

12 years agoMove MIPS ABI settings out of conditional.
Joseph Myers [Wed, 30 May 2012 23:44:17 +0000 (23:44 +0000)]
Move MIPS ABI settings out of conditional.

12 years agoalpha: Update libm-test-ulps
Richard Henderson [Wed, 30 May 2012 23:37:43 +0000 (16:37 -0700)]
alpha: Update libm-test-ulps

12 years agoalpha: Remove __connect_internal alias
Richard Henderson [Wed, 30 May 2012 23:09:11 +0000 (16:09 -0700)]
alpha: Remove __connect_internal alias

12 years agoalpha: Avoid fgets plt entry
Richard Henderson [Wed, 30 May 2012 22:54:49 +0000 (15:54 -0700)]
alpha: Avoid fgets plt entry

And since the FILE is function local, avoid locking too.

12 years agoalpha: Use dbl-64/wordsize-64
Richard Henderson [Wed, 30 May 2012 22:52:06 +0000 (15:52 -0700)]
alpha: Use dbl-64/wordsize-64

12 years agoalpha: Use dynamic rounding with sqrt insn
Richard Henderson [Wed, 30 May 2012 22:49:01 +0000 (15:49 -0700)]
alpha: Use dynamic rounding with sqrt insn

12 years agoRemove __connect_internal alias for MIPS.
Joseph Myers [Wed, 30 May 2012 23:03:43 +0000 (23:03 +0000)]
Remove __connect_internal alias for MIPS.

12 years agoRemove __connect_internal alias for ARM.
Joseph Myers [Wed, 30 May 2012 23:03:16 +0000 (23:03 +0000)]
Remove __connect_internal alias for ARM.

12 years agom68k: remove __ASSUME_TRUNCATE64_SYSCALL
Andreas Schwab [Wed, 30 May 2012 20:54:28 +0000 (22:54 +0200)]
m68k: remove __ASSUME_TRUNCATE64_SYSCALL

12 years agom68k: use hidden_def for __pthread_once
Andreas Schwab [Wed, 30 May 2012 20:52:35 +0000 (22:52 +0200)]
m68k: use hidden_def for __pthread_once

12 years agoDefine FP_TRAPPING_EXCEPTIONS and remove FP_EX_DENORM for powerpc-nofpu.
Joseph Myers [Wed, 30 May 2012 21:35:48 +0000 (21:35 +0000)]
Define FP_TRAPPING_EXCEPTIONS and remove FP_EX_DENORM for powerpc-nofpu.

12 years agoDefine FP_TRAPPING_EXCEPTIONS for MIPS.
Joseph Myers [Wed, 30 May 2012 21:35:11 +0000 (21:35 +0000)]
Define FP_TRAPPING_EXCEPTIONS for MIPS.

12 years agoRegenerate ARM libm-test-ulps.
Joseph Myers [Wed, 30 May 2012 21:16:52 +0000 (21:16 +0000)]
Regenerate ARM libm-test-ulps.

12 years agotile: don't guard setting abi- variables with ifeq ($(subdir),misc)
Chris Metcalf [Wed, 30 May 2012 20:52:36 +0000 (16:52 -0400)]
tile: don't guard setting abi- variables with ifeq ($(subdir),misc)

12 years agotile: add default-abi variables for tilegx
Chris Metcalf [Wed, 30 May 2012 18:56:14 +0000 (14:56 -0400)]
tile: add default-abi variables for tilegx

12 years agoSupport sharing ARM headers for hard and soft float.
Joseph Myers [Wed, 30 May 2012 18:55:55 +0000 (18:55 +0000)]
Support sharing ARM headers for hard and soft float.

12 years agoalpha: Update copyright dates
Richard Henderson [Wed, 30 May 2012 18:21:12 +0000 (11:21 -0700)]
alpha: Update copyright dates

12 years agoalpha: Use hidden_def for pthread_once
Richard Henderson [Wed, 30 May 2012 18:15:58 +0000 (11:15 -0700)]
alpha: Use hidden_def for pthread_once

12 years agoalpha: Purge __ASSUME_TIMEVAL64
Richard Henderson [Wed, 30 May 2012 18:13:33 +0000 (11:13 -0700)]
alpha: Purge __ASSUME_TIMEVAL64

12 years agotile: update libm-test-ulps
Chris Metcalf [Wed, 30 May 2012 17:14:50 +0000 (13:14 -0400)]
tile: update libm-test-ulps

12 years agotile: support biarch tilegx with a new tilegx Makefile
Chris Metcalf [Wed, 30 May 2012 17:14:28 +0000 (13:14 -0400)]
tile: support biarch tilegx with a new tilegx Makefile

12 years agotile: Use hidden_def for pthread_once
Chris Metcalf [Wed, 30 May 2012 16:22:59 +0000 (12:22 -0400)]
tile: Use hidden_def for pthread_once

12 years agotile: remove __ASSUME_NEW_GETRLIMIT_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL
Chris Metcalf [Wed, 30 May 2012 16:19:21 +0000 (12:19 -0400)]
tile: remove __ASSUME_NEW_GETRLIMIT_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL

12 years agoUpdate MIPS for syscall-list changes.
Joseph Myers [Wed, 30 May 2012 15:58:45 +0000 (15:58 +0000)]
Update MIPS for syscall-list changes.

12 years agoRemove __ASSUME_TRUNCATE64_SYSCALL for ARM.
Joseph Myers [Wed, 30 May 2012 14:53:56 +0000 (14:53 +0000)]
Remove __ASSUME_TRUNCATE64_SYSCALL for ARM.

12 years agoRemove SJLJ exceptions conditionals for ARM.
Joseph Myers [Wed, 30 May 2012 10:07:11 +0000 (10:07 +0000)]
Remove SJLJ exceptions conditionals for ARM.

12 years agoReplace __pthread_once_internal alias by hidden_def for MIPS.
Joseph Myers [Wed, 30 May 2012 09:58:18 +0000 (09:58 +0000)]
Replace __pthread_once_internal alias by hidden_def for MIPS.

12 years agoReplace __pthread_once_internal alias by hidden_def for ARM.
Joseph Myers [Wed, 30 May 2012 09:57:22 +0000 (09:57 +0000)]
Replace __pthread_once_internal alias by hidden_def for ARM.

12 years agoAdd mips32 versions of otherwise empty ABI baselines.
Joseph Myers [Sat, 26 May 2012 20:13:48 +0000 (20:13 +0000)]
Add mips32 versions of otherwise empty ABI baselines.

12 years agoUpdate ARM for removal of m68k chown.c.
Joseph Myers [Sat, 26 May 2012 19:06:08 +0000 (19:06 +0000)]
Update ARM for removal of m68k chown.c.

12 years agom68k: remove __ASSUME_NEW_GETRLIMIT_SYSCALL
Andreas Schwab [Fri, 25 May 2012 23:01:25 +0000 (01:01 +0200)]
m68k: remove __ASSUME_NEW_GETRLIMIT_SYSCALL

12 years agom68k: remove pre-2.4 Linux kernel support for chown
Andreas Schwab [Fri, 25 May 2012 21:57:48 +0000 (23:57 +0200)]
m68k: remove pre-2.4 Linux kernel support for chown

12 years agoRemove __ASSUME_NEW_GETRLIMIT_SYSCALL for ARM.
Joseph Myers [Fri, 25 May 2012 22:31:59 +0000 (22:31 +0000)]
Remove __ASSUME_NEW_GETRLIMIT_SYSCALL for ARM.

12 years agoUpdate MIPS kernel-features.h for removal of __ASSUME_32BITUIDS.
Joseph Myers [Fri, 25 May 2012 19:21:15 +0000 (19:21 +0000)]
Update MIPS kernel-features.h for removal of __ASSUME_32BITUIDS.

12 years agoarm: Pass hwcap to ifuncs.
Richard Henderson [Fri, 25 May 2012 16:07:05 +0000 (12:07 -0400)]
arm: Pass hwcap to ifuncs.

        * sysdeps/arm/dl-irel.h (elf_ifunc_invoke): Pass dl_hwcap.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Use elf_ifunc_invoke.
        (elf_machine_rela): Likewise.

12 years agoia64: add getauxval to abilist
Mike Frysinger [Fri, 25 May 2012 05:16:04 +0000 (01:16 -0400)]
ia64: add getauxval to abilist

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoia64: mman.h: define MADV_DO{,NT}DUMP
Mike Frysinger [Fri, 25 May 2012 00:23:18 +0000 (20:23 -0400)]
ia64: mman.h: define MADV_DO{,NT}DUMP

Add new types from linux-3.4.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoalpha: Add abilist files.
Richard Henderson [Thu, 24 May 2012 20:43:53 +0000 (13:43 -0700)]
alpha: Add abilist files.

12 years agoalpha: Re-add imaxdiv.
Richard Henderson [Thu, 24 May 2012 20:20:56 +0000 (13:20 -0700)]
alpha: Re-add imaxdiv.

12 years agoalpha: Remove __ASSUME_32BITUIDS.
Richard Henderson [Thu, 24 May 2012 18:45:13 +0000 (11:45 -0700)]
alpha: Remove __ASSUME_32BITUIDS.

12 years agoalpha: Update bits/mman.h.
Richard Henderson [Thu, 24 May 2012 15:59:42 +0000 (08:59 -0700)]
alpha: Update bits/mman.h.

12 years agoia64: update pthread_attr_t handling in bits/siginfo.h
Mike Frysinger [Wed, 16 May 2012 04:46:38 +0000 (00:46 -0400)]
ia64: update pthread_attr_t handling in bits/siginfo.h

This matches the changes made to the common bits/siginfo.h file.

Reported-by: Joseph Myers <joseph@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoUse -D options in building MIPS syscall.h.
Steve Ellcey [Wed, 23 May 2012 18:48:24 +0000 (18:48 +0000)]
Use -D options in building MIPS syscall.h.

12 years agom68k: define MADV_DONTDUMP and MADV_DODUMP
Andreas Schwab [Wed, 23 May 2012 16:13:29 +0000 (18:13 +0200)]
m68k: define MADV_DONTDUMP and MADV_DODUMP

12 years agotile: Define MADV_DONTDUMP and MADV_DODUMP
Chris Metcalf [Wed, 23 May 2012 12:20:12 +0000 (08:20 -0400)]
tile: Define MADV_DONTDUMP and MADV_DODUMP

12 years agoDefine MADV_DONTDUMP and MADV_DODUMP for MIPS.
Joseph Myers [Wed, 23 May 2012 10:23:26 +0000 (10:23 +0000)]
Define MADV_DONTDUMP and MADV_DODUMP for MIPS.

12 years agoDefine MADV_DONTDUMP and MADV_DODUMP for ARM.
Joseph Myers [Wed, 23 May 2012 10:22:42 +0000 (10:22 +0000)]
Define MADV_DONTDUMP and MADV_DODUMP for ARM.

12 years agotile: Update ULPs for ccos, csin, ccosh, csinh tests
Chris Metcalf [Tue, 22 May 2012 13:54:21 +0000 (09:54 -0400)]
tile: Update ULPs for ccos, csin, ccosh, csinh tests

12 years agotile: Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32
Chris Metcalf [Tue, 22 May 2012 13:20:35 +0000 (09:20 -0400)]
tile: Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32

12 years agotile: Update ABI baselines for getauxval
Chris Metcalf [Tue, 22 May 2012 13:19:53 +0000 (09:19 -0400)]
tile: Update ABI baselines for getauxval

12 years agoRename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32 for MIPS.
Joseph Myers [Mon, 21 May 2012 21:23:10 +0000 (21:23 +0000)]
Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32 for MIPS.

12 years agom68k: properly implement logbl for Motorola extended float
Andreas Schwab [Mon, 21 May 2012 19:18:45 +0000 (21:18 +0200)]
m68k: properly implement logbl for Motorola extended float

12 years agom68k: update libc.abilist
Andreas Schwab [Mon, 21 May 2012 15:37:13 +0000 (17:37 +0200)]
m68k: update libc.abilist

12 years agoRemove __fe_nomask_env from powerpc-nofpu ABI.
Joseph Myers [Mon, 21 May 2012 18:56:03 +0000 (18:56 +0000)]
Remove __fe_nomask_env from powerpc-nofpu ABI.

12 years agoUpdate ARM hwcap code.
Joseph Myers [Mon, 21 May 2012 10:45:52 +0000 (10:45 +0000)]
Update ARM hwcap code.

12 years agoUpdate powerpc-nofpu ABI baselines for getauxval.
Joseph Myers [Mon, 21 May 2012 09:52:18 +0000 (09:52 +0000)]
Update powerpc-nofpu ABI baselines for getauxval.

12 years agoUpdate MIPS ABI baselines for getauxval.
Joseph Myers [Mon, 21 May 2012 09:51:58 +0000 (09:51 +0000)]
Update MIPS ABI baselines for getauxval.

12 years agoUpdate ARM ABI baseline for getauxval.
Joseph Myers [Mon, 21 May 2012 09:51:16 +0000 (09:51 +0000)]
Update ARM ABI baseline for getauxval.

12 years agoalpha: Rename *.s to *.S
Richard Henderson [Sun, 20 May 2012 17:45:51 +0000 (10:45 -0700)]
alpha: Rename *.s to *.S

12 years agoRemove more obsolete ARM code.
Joseph Myers [Sat, 19 May 2012 21:24:17 +0000 (21:24 +0000)]
Remove more obsolete ARM code.

12 years agoClean up MIPS ftruncate64/truncate64.
Joseph Myers [Sat, 19 May 2012 19:10:13 +0000 (19:10 +0000)]
Clean up MIPS ftruncate64/truncate64.

12 years agoRemove compatibility code for old ARM kernels.
Joseph Myers [Sat, 19 May 2012 17:56:01 +0000 (17:56 +0000)]
Remove compatibility code for old ARM kernels.

12 years agohppa: Rename all *.s to *.S.
Carlos O'Donell [Sat, 19 May 2012 16:53:28 +0000 (18:53 +0200)]
hppa: Rename all *.s to *.S.

Top-level is removing the rule for *.s, therefore
we change all of our files to *.S. There was no
reason not to use *.S.

12 years agohppa: Use new libgcc_so in shlib-versions.
Carlos O'Donell [Thu, 17 May 2012 03:50:08 +0000 (05:50 +0200)]
hppa: Use new libgcc_so in shlib-versions.

The version of libcc.so used is now controlled via
shlib-versions.

12 years agolinux-generic: add __FSWORD_T_TYPE to <bits/typesizes.h>
Chris Metcalf [Fri, 18 May 2012 17:15:53 +0000 (13:15 -0400)]
linux-generic: add __FSWORD_T_TYPE to <bits/typesizes.h>

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc-ports
Richard Henderson [Fri, 18 May 2012 18:48:15 +0000 (11:48 -0700)]
Merge branch 'master' of ssh://sourceware.org/git/glibc-ports

12 years agoalpha: Add localplt data file
Richard Henderson [Fri, 18 May 2012 18:47:36 +0000 (11:47 -0700)]
alpha: Add localplt data file

12 years agoalpha: Add __SYSCALL_SLONG_TYPE, __SYSCALL_ULONG_TYPE, __FSWORD_T_TYPE
Richard Henderson [Fri, 18 May 2012 18:35:03 +0000 (11:35 -0700)]
alpha: Add __SYSCALL_SLONG_TYPE, __SYSCALL_ULONG_TYPE, __FSWORD_T_TYPE