external/glibc.git
12 years agoMake sparc's -fPIC addition to ASFLAGS-.os more robust.
David S. Miller [Wed, 28 Mar 2012 21:25:42 +0000 (14:25 -0700)]
Make sparc's -fPIC addition to ASFLAGS-.os more robust.

* sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
* sysdeps/sparc/sparc32/Makefile: rather than here...
* sysdeps/sparc/sparc64/Makefile: and here.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Wed, 28 Mar 2012 17:06:05 +0000 (13:06 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoAvoid warnings in test malloc program
Ulrich Drepper [Wed, 28 Mar 2012 17:05:11 +0000 (13:05 -0400)]
Avoid warnings in test malloc program

12 years ago [BZ #13760]
Jeff Law [Wed, 28 Mar 2012 16:09:29 +0000 (10:09 -0600)]
   [BZ #13760]
        * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
        in the right place. Discard and retry query if response is
        larger than input buffer size.

12 years agoFix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).
Joseph Myers [Wed, 28 Mar 2012 14:57:58 +0000 (14:57 +0000)]
Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).

12 years agoBug 3868 also fixed by __kernel_standard_l changes.
Joseph Myers [Wed, 28 Mar 2012 09:52:05 +0000 (09:52 +0000)]
Bug 3868 also fixed by __kernel_standard_l changes.

12 years agoAvoid overflows from long double functions using __kernel_standard.
Joseph Myers [Wed, 28 Mar 2012 09:32:12 +0000 (09:32 +0000)]
Avoid overflows from long double functions using __kernel_standard.

12 years agoFix whitespace
Andreas Jaeger [Wed, 28 Mar 2012 08:00:15 +0000 (10:00 +0200)]
Fix whitespace

12 years agoRegenerate configure files
Andreas Jaeger [Wed, 28 Mar 2012 07:37:36 +0000 (09:37 +0200)]
Regenerate configure files

12 years agoRemove sysdeps/elf support from configure.
Andreas Jaeger [Fri, 23 Mar 2012 16:37:33 +0000 (17:37 +0100)]
Remove sysdeps/elf support from configure.

* configure.in: Remove support for elf directories in sysdeps.

12 years agoMove sysdeps/s390/s390-64/elf files
Andreas Jaeger [Fri, 23 Mar 2012 16:37:32 +0000 (17:37 +0100)]
Move sysdeps/s390/s390-64/elf files

* sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
* sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
* sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
* sysdeps/s390/s390-64/setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/configure.in: Moved to ...
* sysdeps/s390/s390-64/configure.in: ... here
* sysdeps/s390/s390-64/elf/configure: Delete file.
* sysdeps/s390/s390-64/elf/start.S: Moved to ...
* sysdeps/s390/s390-64/start.S: ... here.
* sysdeps/s390/s390-64/elf/configure: Delete.

12 years agoMove sysdeps/s390/s390-32/elf files
Andreas Jaeger [Fri, 23 Mar 2012 16:37:31 +0000 (17:37 +0100)]
Move sysdeps/s390/s390-32/elf files

* sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
* sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
* sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
* sysdeps/s390/s390-32/setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/configure.in: Moved to ...
* sysdeps/s390/s390-32/configure.in: ... here.
* sysdeps/s390/s390-32/elf/configure: Delete file.
* sysdeps/s390/s390-32/elf/start.S: Moved to ...
* sysdeps/s390/s390-32/start.S: ... here.

12 years agoFix sparc64/elf merge
David S. Miller [Wed, 28 Mar 2012 07:29:20 +0000 (09:29 +0200)]
Fix sparc64/elf merge

* sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
have-as-vis3 check.

12 years agoMove sysdeps/sparc/{,sparc32,sparc64}/elf files
Andreas Jaeger [Fri, 23 Mar 2012 16:37:30 +0000 (17:37 +0100)]
Move sysdeps/sparc/{,sparc32,sparc64}/elf files

* sysdeps/sparc/elf/configure.in: Moved to ...
* sysdeps/sparc/configure.in: ... here.
* sysdeps/sparc/elf/configure: Delete file.
* sysdeps/sparc/sparc32/elf/start.S: Moved to ...
* sysdeps/sparc/sparc32/start.S: ... here.
* sysdeps/sparc/sparc64/elf/start.S: Moved to ...
* sysdeps/sparc/sparc64/start.S: ... here.
* sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
* sysdeps/sparc/sparc32/Makefile: ... this.
* sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
* sysdeps/sparc/sparc64/Makefile: ... this.

12 years agoMove sysdeps/powerpc/elf files
Andreas Jaeger [Wed, 28 Mar 2012 07:25:31 +0000 (09:25 +0200)]
Move sysdeps/powerpc/elf files

* sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
* sysdeps/powerpc/ifunc-sel.h: ... here.
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
* sysdeps/powerpc/rtld-global-offsets.sym: ... here.

12 years agoMove sysdeps/powerpc/powerpc32/elf files
Andreas Jaeger [Wed, 28 Mar 2012 07:23:52 +0000 (09:23 +0200)]
Move sysdeps/powerpc/powerpc32/elf files

* sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
* sysdeps/powerpc/powerpc32/bzero.S: ... here.
* sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
* sysdeps/powerpc/powerpc32/start.S: ... here.
* sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
* sysdeps/powerpc/powerpc32/configure.in: ... this.
* sysdeps/powerpc/powerpc32/elf/configure: Delete file.

12 years agoMove sysdeps/powerpc/powerpc64/elf files
Andreas Jaeger [Wed, 28 Mar 2012 07:22:05 +0000 (09:22 +0200)]
Move sysdeps/powerpc/powerpc64/elf files

* sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
* sysdeps/powerpc/powerpc64/bzero.S: ... here.
* sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
* sysdeps/powerpc/powerpc64/entry.h: ... here.
* sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
* sysdeps/powerpc/powerpc64/start.S: here.
* sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
* sysdeps/powerpc/powerpc64/Makefile: ... this.
* sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
* sysdeps/powerpc/powerpc64/configure.in: ... this.
* sysdeps/powerpc/powerpc64/elf/configure: Delete file.

12 years agoDelete sysdeps/sh/elf
Andreas Jaeger [Wed, 28 Mar 2012 07:19:38 +0000 (09:19 +0200)]
Delete sysdeps/sh/elf

* sysdeps/sh/elf/configure.in: Moved to ...
* sysdeps/sh/configure.in: ... here.
* sysdeps/sh/elf/start.S: Moved to ...
* sysdeps/sh/start.S: ... here.
* sysdeps/sh/elf/configure: Delete file.

12 years agoFix last commit
Andreas Jaeger [Wed, 28 Mar 2012 07:18:28 +0000 (09:18 +0200)]
Fix last commit

Merge the current i386 version of sysdeps/i386/configure.in
Regenerate configure

12 years agoDefine MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.
Anton Blanchard [Wed, 28 Mar 2012 01:37:16 +0000 (18:37 -0700)]
Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.

* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
MAP_HUGETLB.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.

12 years agoRun conformtest script explicitly using BASH.
David S. Miller [Tue, 27 Mar 2012 22:02:19 +0000 (15:02 -0700)]
Run conformtest script explicitly using BASH.

* conform/Makefile: Run run-conformtest.sh using $(BASH).

12 years agoFix nptl/tst-cond1{6,7,8}.c on 32-bit with many cpus.
David S. Miller [Tue, 27 Mar 2012 21:25:55 +0000 (14:25 -0700)]
Fix nptl/tst-cond1{6,7,8}.c on 32-bit with many cpus.

* tst-cond16.c (do_test): Use a thread stack size which is either
PTHREAD_STACK_MIN or the page size, whichever is larger.
* tst-cond18.c (do_test): Likewise.

12 years agoRegenerate
Andreas Jaeger [Tue, 27 Mar 2012 19:37:02 +0000 (21:37 +0200)]
Regenerate

12 years agoMerge branch 'elf-move'
Andreas Jaeger [Tue, 27 Mar 2012 19:35:36 +0000 (21:35 +0200)]
Merge branch 'elf-move'

Conflicts:
debug/backtracesymsfd.c
sysdeps/generic/elf/backtracesymsfd.c
sysdeps/i386/configure.in

12 years agoUpdate powerpc libm test ULPs
Andreas Schwab [Fri, 23 Mar 2012 22:53:53 +0000 (23:53 +0100)]
Update powerpc libm test ULPs

12 years agoFix undue underflow in ldbl-128ibm version of expl
Andreas Schwab [Fri, 23 Mar 2012 22:24:23 +0000 (23:24 +0100)]
Fix undue underflow in ldbl-128ibm version of expl

12 years agoFix last change.
Roland McGrath [Sun, 25 Mar 2012 19:01:29 +0000 (12:01 -0700)]
Fix last change.

12 years agoFix confstr use of local buffer outside its extent.
Roland McGrath [Sun, 25 Mar 2012 18:36:35 +0000 (11:36 -0700)]
Fix confstr use of local buffer outside its extent.

12 years ago2012-03-23 Jeff Law <law@redhat.com>
Jeff Law [Fri, 23 Mar 2012 20:56:42 +0000 (14:56 -0600)]
2012-03-23  Jeff Law  <law@redhat.com>

        * nss/getnssent.c (__nss_getent): Fix typo.

12 years agoUpdate sparc ULPs for recently added tests and bug fixes.
David S. Miller [Fri, 23 Mar 2012 02:00:07 +0000 (19:00 -0700)]
Update sparc ULPs for recently added tests and bug fixes.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoMake sure x86_64 GOT entry slot is always 8 bytes
H.J. Lu [Fri, 23 Mar 2012 18:06:57 +0000 (11:06 -0700)]
Make sure x86_64 GOT entry slot is always 8 bytes

12 years ago2012-03-23 Daniel Jacobowitz <dmj@google.com>
Paul Pluzhnikov [Fri, 23 Mar 2012 16:47:03 +0000 (09:47 -0700)]
2012-03-23  Daniel Jacobowitz  <dmj@google.com>
Paul Pluzhnikov  <ppluzhnikov@google.com>

[BZ #6528]
* grp/Makefile (otherlibs): Don't set it.
* inet/Makefile (otherlibs): Likewise.
* login/Makefile (otherlibs): Likewise.
* nscd/Makefile (otherlibs): Likewise.
* posix/Makefile (otherlibs): Likewise.
* pwd/Makefile (otherlibs): Likewise.
* rt/Makefile (otherlibs): Likewise.
* sunrpc/Makefile (otherlibs): Likewise.
* nss/Makefile (otherlibs): Likewise.
Add libnss_files to routines and static-only-routines.
($(objpfx)getent): Remove rule.
* resolv/Makefile: Add libnss_dns and libresolv to routines and
static-only-routines.

12 years agoFix cexp overflow (bug 13892).
Joseph Myers [Thu, 22 Mar 2012 19:38:09 +0000 (19:38 +0000)]
Fix cexp overflow (bug 13892).

12 years agoReplace Elf64_XXX with ElfW(XXX) in dl-irel.h
H.J. Lu [Thu, 22 Mar 2012 17:17:05 +0000 (10:17 -0700)]
Replace Elf64_XXX with ElfW(XXX) in dl-irel.h

12 years agoReplace unsigned long with uint64_t
H.J. Lu [Thu, 22 Mar 2012 17:02:57 +0000 (10:02 -0700)]
Replace unsigned long with uint64_t

12 years agoAdd forward declaration for La_x32_regs/La_x32_retval
H.J. Lu [Thu, 22 Mar 2012 16:01:16 +0000 (09:01 -0700)]
Add forward declaration for La_x32_regs/La_x32_retval

12 years agoAdd sysdeps/x86_64/preconfigure
H.J. Lu [Thu, 22 Mar 2012 15:28:39 +0000 (08:28 -0700)]
Add sysdeps/x86_64/preconfigure

12 years agoFix exp2l inaccuracy (bug 13824).
Joseph Myers [Thu, 22 Mar 2012 12:55:19 +0000 (12:55 +0000)]
Fix exp2l inaccuracy (bug 13824).

12 years agoFix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm.
Joseph Myers [Thu, 22 Mar 2012 12:52:50 +0000 (12:52 +0000)]
Fix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm.

12 years agoAdd 6730 to NEWS.
Carlos O'Donell [Thu, 22 Mar 2012 04:07:37 +0000 (00:07 -0400)]
Add 6730 to NEWS.

12 years agoAdd x32 support to dynamic linker audit
H.J. Lu [Thu, 22 Mar 2012 00:14:49 +0000 (17:14 -0700)]
Add x32 support to dynamic linker audit

12 years agoFix missing overflow/underflow exception in ldbl-128ibm version of powl
Andreas Schwab [Wed, 21 Mar 2012 10:51:17 +0000 (11:51 +0100)]
Fix missing overflow/underflow exception in ldbl-128ibm version of powl

12 years agoUpdate powerpc libm-test ULPs
Andreas Schwab [Tue, 20 Mar 2012 00:02:29 +0000 (01:02 +0100)]
Update powerpc libm-test ULPs

12 years agoDisable use of FMA instructions in branred
Andreas Schwab [Fri, 16 Mar 2012 15:07:57 +0000 (16:07 +0100)]
Disable use of FMA instructions in branred

12 years agoAdd _ITOA_NEEDED and _ITOA_WORD_TYPE
H.J. Lu [Wed, 21 Mar 2012 21:38:47 +0000 (14:38 -0700)]
Add _ITOA_NEEDED and _ITOA_WORD_TYPE

Add _ITOA_NEEDED and _ITOA_WORD_TYPE to override _itoa and _itowa.

12 years agoUpdate sparc ULPs for recently added tests.
David S. Miller [Wed, 21 Mar 2012 21:20:46 +0000 (14:20 -0700)]
Update sparc ULPs for recently added tests.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoCheck x86_64* instead of x86_64
H.J. Lu [Wed, 21 Mar 2012 19:37:38 +0000 (12:37 -0700)]
Check x86_64* instead of x86_64

12 years agoDon't document varargs.h.
Joseph Myers [Wed, 21 Mar 2012 17:52:19 +0000 (17:52 +0000)]
Don't document varargs.h.

12 years agoWeaken -fstack-protector configure test to a compile test.
Thomas Schwinge [Wed, 21 Mar 2012 17:51:08 +0000 (17:51 +0000)]
Weaken -fstack-protector configure test to a compile test.

12 years agoDon't tamper with $HOME.
Thomas Schwinge [Wed, 21 Mar 2012 17:10:03 +0000 (18:10 +0100)]
Don't tamper with $HOME.

12 years agoRemove NOTES.
Joseph Myers [Wed, 21 Mar 2012 16:56:28 +0000 (16:56 +0000)]
Remove NOTES.

12 years agoUse autoconf macro for testing compiler options with empty input.
Joseph Myers [Wed, 21 Mar 2012 16:33:57 +0000 (16:33 +0000)]
Use autoconf macro for testing compiler options with empty input.

12 years agoRemove inaccurate x86 cexp implementations (bug 13883).
Joseph Myers [Wed, 21 Mar 2012 15:28:05 +0000 (15:28 +0000)]
Remove inaccurate x86 cexp implementations (bug 13883).

12 years agoDo not install iso3166.tab and zone.tab
Allan McRae [Wed, 21 Mar 2012 15:13:21 +0000 (16:13 +0100)]
Do not install iso3166.tab and zone.tab

2012-03-21  Allan McRae  <allan@archlinux.org>

* timezone/Makefile: Do not install iso3166.tab and zone.tab

12 years agoFix missing exp2 overflow exception (bug 13871).
Joseph Myers [Wed, 21 Mar 2012 12:17:26 +0000 (12:17 +0000)]
Fix missing exp2 overflow exception (bug 13871).

12 years agoFix pow of zero and infinity to large powers.
Joseph Myers [Wed, 21 Mar 2012 12:14:57 +0000 (12:14 +0000)]
Fix pow of zero and infinity to large powers.

12 years agoMove stdio-common/_itoa.h to sysdeps/generic
H.J. Lu [Tue, 20 Mar 2012 23:00:23 +0000 (16:00 -0700)]
Move stdio-common/_itoa.h to sysdeps/generic

12 years agoMerge branch 'master' into elf-move
Andreas Jaeger [Tue, 20 Mar 2012 19:40:16 +0000 (20:40 +0100)]
Merge branch 'master' into elf-move

12 years agoCheck __x86_64__ instead of __WORDSIZE in mathinline.h
H.J. Lu [Tue, 20 Mar 2012 15:54:58 +0000 (08:54 -0700)]
Check __x86_64__ instead of __WORDSIZE in mathinline.h

12 years agoSupport x86-64 __jmp_buf with __WORDSIZE != 64
H.J. Lu [Tue, 20 Mar 2012 15:53:42 +0000 (08:53 -0700)]
Support x86-64 __jmp_buf with __WORDSIZE != 64

12 years agoTest for overflow exceptions in libm-test.inc.
Joseph Myers [Tue, 20 Mar 2012 10:58:04 +0000 (10:58 +0000)]
Test for overflow exceptions in libm-test.inc.

12 years agoRemove old debug/backtracesyms files, replace with elf versions.
Andreas Jaeger [Tue, 20 Mar 2012 08:32:41 +0000 (09:32 +0100)]
Remove old debug/backtracesyms files, replace with elf versions.

12 years agoRemove unused start.c files.
Andreas Jaeger [Tue, 20 Mar 2012 08:14:04 +0000 (09:14 +0100)]
Remove unused start.c files.

12 years agoCorrect ChangeLog entry.
H.J. Lu [Tue, 20 Mar 2012 00:47:44 +0000 (17:47 -0700)]
Correct ChangeLog entry.

12 years agoUse atomic64_t with 64bit atomic macros
H.J. Lu [Tue, 20 Mar 2012 00:29:26 +0000 (17:29 -0700)]
Use atomic64_t with 64bit atomic macros

12 years agoUse __asm__("rsp") to get CURRENT_STACK_FRAME
H.J. Lu [Mon, 19 Mar 2012 23:21:21 +0000 (16:21 -0700)]
Use __asm__("rsp") to get CURRENT_STACK_FRAME

12 years agoCheck __x86_64__ instead of __WORDSIZE for fenv_t
H.J. Lu [Mon, 19 Mar 2012 23:10:51 +0000 (16:10 -0700)]
Check __x86_64__ instead of __WORDSIZE for fenv_t

12 years agoCheck __x86_64__ instead of __WORDSIZE in mathdef.h
H.J. Lu [Mon, 19 Mar 2012 23:00:52 +0000 (16:00 -0700)]
Check __x86_64__ instead of __WORDSIZE in mathdef.h

12 years agoUpdate sparc ULPs for newly added tests.
David S. Miller [Mon, 19 Mar 2012 22:45:17 +0000 (15:45 -0700)]
Update sparc ULPs for newly added tests.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoAdd x32 support to ldd-rewrite.sed
H.J. Lu [Mon, 19 Mar 2012 22:18:44 +0000 (15:18 -0700)]
Add x32 support to ldd-rewrite.sed

12 years agoUse int64_t in x86_64/fpu/math_private.h
H.J. Lu [Mon, 19 Mar 2012 22:09:58 +0000 (15:09 -0700)]
Use int64_t in x86_64/fpu/math_private.h

12 years agoFix sparc build after math_private.h cleanups.
David S. Miller [Mon, 19 Mar 2012 22:12:50 +0000 (15:12 -0700)]
Fix sparc build after math_private.h cleanups.

* sysdeps/sparc/fpu/fenv_private.h: New file.
* sysdeps/sparc/fpu/math_private.h: Use it.
(libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
Remove.
(libc_feholdexcept_setround, libc_feholdexcept_setroundf,
(libc_feholdexcept_setroundl): Remove.
(libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
Remove.
(libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
(libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.

12 years agoUse __NR_futex to define SYS_futex
H.J. Lu [Mon, 19 Mar 2012 21:54:35 +0000 (14:54 -0700)]
Use __NR_futex to define SYS_futex

12 years agoCast _Unwind_GetCFA return to _Unwind_Ptr first
H.J. Lu [Mon, 19 Mar 2012 20:34:44 +0000 (13:34 -0700)]
Cast _Unwind_GetCFA return to _Unwind_Ptr first

12 years agoCast _Unwind_GetCFA return to _Unwind_Ptr first
H.J. Lu [Mon, 19 Mar 2012 20:33:20 +0000 (13:33 -0700)]
Cast _Unwind_GetCFA return to _Unwind_Ptr first

12 years agoFix clog overflow/underflow (bug 13629).
Joseph Myers [Mon, 19 Mar 2012 20:13:10 +0000 (20:13 +0000)]
Fix clog overflow/underflow (bug 13629).

12 years agoFix atan2 spurious exceptions (bug 11451).
Joseph Myers [Mon, 19 Mar 2012 20:11:09 +0000 (20:11 +0000)]
Fix atan2 spurious exceptions (bug 11451).

12 years agoFix last line in configure.in.
Andreas Jaeger [Mon, 19 Mar 2012 20:09:50 +0000 (21:09 +0100)]
Fix last line in configure.in.

12 years agoFix last line.
Andreas Jaeger [Mon, 19 Mar 2012 20:06:14 +0000 (21:06 +0100)]
Fix last line.

12 years agoMove sysdeps/generic/elf/* to sysdeps/generic
Andreas Jaeger [Mon, 19 Mar 2012 20:04:21 +0000 (21:04 +0100)]
Move sysdeps/generic/elf/* to sysdeps/generic

12 years agoMerge sysdeps/i386/elf/Versions into sysdeps/i386/Versions.
Andreas Jaeger [Mon, 19 Mar 2012 20:00:15 +0000 (21:00 +0100)]
Merge sysdeps/i386/elf/Versions into sysdeps/i386/Versions.
Move sysdeps/i386/elf/start.S to sysdeps/i386/
Merge sysdeps/i386/elf/configure.in into sysdeps/i386/configure.in
Delete merged files sysdeps/i386/elf/configure.in, sysdeps/i386/elf/Versions
and sysdeps/i386/elf/configure.

12 years agoRemove now obsolete elf/configure file.
Andreas Jaeger [Mon, 19 Mar 2012 19:58:43 +0000 (20:58 +0100)]
Remove now obsolete elf/configure file.

12 years agoMerge contents from sysdeps/i386/configure.in (without i686 check)
Andreas Jaeger [Mon, 19 Mar 2012 19:58:05 +0000 (20:58 +0100)]
Merge contents from sysdeps/i386/configure.in (without i686 check)

12 years agoMove x86_64/elf files to x86_64
Andreas Jaeger [Mon, 19 Mar 2012 19:55:26 +0000 (20:55 +0100)]
Move x86_64/elf files to x86_64

12 years agoRemove common-objdir-compile and related sysdeps/unix/Makefile code.
Joseph Myers [Mon, 19 Mar 2012 16:23:26 +0000 (16:23 +0000)]
Remove common-objdir-compile and related sysdeps/unix/Makefile code.

12 years agoOptimize private 387 fenv access; share code between i386 and x86_64.
Richard Henderson [Sun, 18 Mar 2012 22:58:00 +0000 (15:58 -0700)]
Optimize private 387 fenv access; share code between i386 and x86_64.

12 years agoi386/x86_64: Optimize feholdexcept.
Richard Henderson [Sun, 18 Mar 2012 22:51:53 +0000 (15:51 -0700)]
i386/x86_64: Optimize feholdexcept.

12 years agoCreate and use libc_feupdateenv_test.
Richard Henderson [Sat, 10 Mar 2012 16:53:05 +0000 (08:53 -0800)]
Create and use libc_feupdateenv_test.

We can reduce the number of STMXCSR, and often we can avoid the
call to __feraiseexcept.

12 years agoCreate and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.
Richard Henderson [Sat, 10 Mar 2012 16:55:53 +0000 (08:55 -0800)]
Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.

12 years agoi386: Convert libc_{feholdexcept_setround,updateenv}_53bit to functions.
Richard Henderson [Sun, 18 Mar 2012 17:12:16 +0000 (10:12 -0700)]
i386: Convert libc_{feholdexcept_setround,updateenv}_53bit to functions.

Also fix a bug in libc_feupdateenv_53bit: don't force the rounding
precision back to _FPU_EXTENDED, instead restore the precision that
the user had in effect beforehand.

12 years agoConvert libc_feholdexcept et al from macros to inline functions.
Richard Henderson [Fri, 9 Mar 2012 20:51:27 +0000 (12:51 -0800)]
Convert libc_feholdexcept et al from macros to inline functions.

12 years agoMake inline __isnan, __isinf_ns, __finite generic.
Richard Henderson [Fri, 9 Mar 2012 20:38:23 +0000 (12:38 -0800)]
Make inline __isnan, __isinf_ns, __finite generic.

For code generation to stay identical on x86_64, this requires that
we define the fp word manipulation macros before including the
generic header.

12 years agoUpdate powerpc libm test ULPs
Andreas Schwab [Fri, 16 Mar 2012 23:29:04 +0000 (00:29 +0100)]
Update powerpc libm test ULPs

12 years agoAdd missing Versions entry for sparc's __getshmlba.
David S. Miller [Sat, 17 Mar 2012 22:55:27 +0000 (15:55 -0700)]
Add missing Versions entry for sparc's __getshmlba.

[BZ #6471]
* sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
for 2.16.

12 years agoFix warnings when uintptr_t is larger than int.
David S. Miller [Sat, 17 Mar 2012 04:02:54 +0000 (21:02 -0700)]
Fix warnings when uintptr_t is larger than int.

* sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
warnings.

12 years agoFix libc-lowlevellock.c sysdep finding more generically.
David S. Miller [Sat, 17 Mar 2012 03:40:54 +0000 (20:40 -0700)]
Fix libc-lowlevellock.c sysdep finding more generically.

nptl/

[BZ #13844]
* sysdeps/unix/sysv/linux/libc-lowlevellock.c: Include using <..>
instead of "...".
* sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c:
Delete, not needed.

12 years agoFix SHMLBA on sparc.
David S. Miller [Sat, 17 Mar 2012 02:28:51 +0000 (19:28 -0700)]
Fix SHMLBA on sparc.

[BZ #6471]
* sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
properly.
* sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
* sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
sysdep_routines when subdir is sysvipc.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
__getshmlba helper.

12 years agoUpdate sparc ULPs.
David S. Miller [Fri, 16 Mar 2012 22:57:08 +0000 (15:57 -0700)]
Update sparc ULPs.

* sysdeps/sparc/fpu/libm-test/ulps: Update.

12 years agoDefine x86-64 ffsl alias only if __LP64__ is defined
H.J. Lu [Fri, 16 Mar 2012 22:16:27 +0000 (15:16 -0700)]
Define x86-64 ffsl alias only if __LP64__ is defined

12 years agoMake lround the alias of llround for wordsize-64
H.J. Lu [Fri, 16 Mar 2012 22:14:56 +0000 (15:14 -0700)]
Make lround the alias of llround for wordsize-64