platform/upstream/linaro-glibc.git
12 years agoUpdate s390 libm-test-ulps
Andreas Krebbel [Fri, 4 May 2012 08:05:41 +0000 (10:05 +0200)]
Update s390 libm-test-ulps

12 years agoFix tst-obprintf - and mcheck in general
Andreas Jaeger [Thu, 3 May 2012 20:12:59 +0000 (22:12 +0200)]
Fix tst-obprintf - and mcheck in general

tst-obprintf failed with GCC 4.7.

It turned out that this is the fault of GCC optimizing away the
following from malloc/mcheck.c:
      /* We call malloc() once here to ensure it is initialized.  */
      void *p = malloc (0);
      free (p);

gcc sees the malloc(0);free pair and removes it completely.

And now malloc is not properly initialized and we screw up if both
mcheck is used (via tst-obprintf) and MALLOC_CHECK_ is set (as it is in my
environment).

12 years agoDo not delete make check-abi symlist files
Andreas Jaeger [Thu, 3 May 2012 18:51:38 +0000 (20:51 +0200)]
Do not delete make check-abi symlist files

Do not remove the .symlist files and thus do not run
objdump for each library etc if you repeat the make check command.

12 years agoFix minor fallout from yesterdays sparc nptl changes.
David S. Miller [Thu, 3 May 2012 18:39:49 +0000 (11:39 -0700)]
Fix minor fallout from yesterdays sparc nptl changes.

nptl/

* sysdeps/sparc/sparc64/pthread_spin_unlock.S: Fix thinko, we
always have to return 0, especially for the pthread_spin_init
alias.
* sysdeps/sparc/sparc32/pthread_spin_lock.S: Add missing trailing
newline.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
* sysdeps/sparc/sparc64/pthread_spin_lock.S: Likewise.

12 years agoFix conditions on checking versions of dprintf (bug 13775).
Joseph Myers [Thu, 3 May 2012 18:42:37 +0000 (18:42 +0000)]
Fix conditions on checking versions of dprintf (bug 13775).

12 years agoFix make clean for recent elf/Makefile changes.
Roland McGrath [Thu, 3 May 2012 16:52:29 +0000 (09:52 -0700)]
Fix make clean for recent elf/Makefile changes.

12 years agoUpdate sysdeps/i386/fpu/libm-test-ulps
Andreas Jaeger [Thu, 3 May 2012 14:22:52 +0000 (16:22 +0200)]
Update sysdeps/i386/fpu/libm-test-ulps

12 years agoMove FAQ to wiki
Andreas Jaeger [Thu, 3 May 2012 07:46:57 +0000 (09:46 +0200)]
Move FAQ to wiki

The FAQ is now at http://sourceware.org/glibc/wiki/FAQ and not
anymore part of the repository.

12 years agoMirror i386 change on sparc: 'Avoid "anonymous" code in pthread_spin_lock'
David S. Miller [Thu, 3 May 2012 02:04:54 +0000 (19:04 -0700)]
Mirror i386 change on sparc: 'Avoid "anonymous" code in pthread_spin_lock'

nptl/

* sysdeps/sparc/sparc64/pthread_spin_lock.S: New.
* sysdeps/sparc/sparc64/pthread_spin_lock.c: Delete.
* sysdeps/sparc/sparc64/pthread_spin_unlock.S: New.
* sysdeps/sparc/sparc64/pthread_spin_unlock.c: Delete.
* sysdeps/sparc/sparc64/pthread_spin_trylock.S: New.
* sysdeps/sparc/sparc64/pthread_spin_trylock.c: Delete.
* sysdeps/sparc/sparc64/pthread_spin_init.c: New.
* sysdeps/sparc/sparc32/pthread_spin_lock.S: New.
* sysdeps/sparc/sparc32/pthread_spin_lock.c: Delete.
* sysdeps/sparc/sparc32/pthread_spin_trylock.S: New.
* sysdeps/sparc/sparc32/pthread_spin_trylock.c: Delete.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: New.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c: Delete.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: New.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.c: Delete.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: New.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.c: Delete.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: New.

12 years agoFix test-suite failues with -Wl,--as-needed
Allan McRae [Mon, 16 Apr 2012 04:06:47 +0000 (14:06 +1000)]
Fix test-suite failues with -Wl,--as-needed

Signed-off-by: Allan McRae <allan@archlinux.org>
12 years agoUpdate sparc ULPs for recently added acos/asin tests.
David S. Miller [Wed, 2 May 2012 23:44:21 +0000 (16:44 -0700)]
Update sparc ULPs for recently added acos/asin tests.

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

12 years agoFor PR 14055, add bounds check to _dl_show_auxv().
Paul Pluzhnikov [Wed, 2 May 2012 21:35:30 +0000 (14:35 -0700)]
For PR 14055, add bounds check to _dl_show_auxv().

12 years agoKill trailing whitespace.
Paul Pluzhnikov [Wed, 2 May 2012 21:01:37 +0000 (14:01 -0700)]
Kill trailing whitespace.

12 years agoAvoid "anonymous" code in pthread_spin_lock.
Paul Pluzhnikov [Wed, 2 May 2012 20:58:40 +0000 (13:58 -0700)]
Avoid "anonymous" code in pthread_spin_lock.

12 years agoUse -frounding-math for math testsuite
Andreas Jaeger [Wed, 2 May 2012 14:33:18 +0000 (16:33 +0200)]
Use -frounding-math for math testsuite

We should tell GCC that we manipulate the rounding mode and
therefore add -frounding-math to these files that call fesetround.

12 years agoFix nexttoward bugs
Adhemerval Zanella [Wed, 2 May 2012 13:14:17 +0000 (15:14 +0200)]
Fix nexttoward bugs

        [BZ #2550]
        [BZ #2570]
        * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
        comparisons to determine direction to adjust input.

12 years agoRedirect check-localplt output to check-localplt.out.
Roland McGrath [Tue, 1 May 2012 20:30:55 +0000 (13:30 -0700)]
Redirect check-localplt output to check-localplt.out.

12 years agoDo check-localplt test using readelf rather than a build-time C program.
Roland McGrath [Tue, 1 May 2012 16:26:23 +0000 (09:26 -0700)]
Do check-localplt test using readelf rather than a build-time C program.

12 years agoDo check-execstack test using readelf rather than a build-time C program.
Roland McGrath [Mon, 30 Apr 2012 22:41:15 +0000 (15:41 -0700)]
Do check-execstack test using readelf rather than a build-time C program.

12 years agoDo check-textrel test using readelf rather than a build-time C program.
Roland McGrath [Mon, 30 Apr 2012 22:00:14 +0000 (15:00 -0700)]
Do check-textrel test using readelf rather than a build-time C program.

12 years agoconformtest: Update expectations for some ISO C headers.
Joseph Myers [Tue, 1 May 2012 20:05:49 +0000 (20:05 +0000)]
conformtest: Update expectations for some ISO C headers.

12 years agoconformtest: Check namespace within __attribute__.
Joseph Myers [Tue, 1 May 2012 20:05:14 +0000 (20:05 +0000)]
conformtest: Check namespace within __attribute__.

12 years agoconformtest: Use correct keyword set for underlying C standard.
Joseph Myers [Tue, 1 May 2012 20:04:44 +0000 (20:04 +0000)]
conformtest: Use correct keyword set for underlying C standard.

12 years agoconformtest: Don't test non-C90 headers for C90.
Joseph Myers [Tue, 1 May 2012 20:04:15 +0000 (20:04 +0000)]
conformtest: Don't test non-C90 headers for C90.

12 years agoconformtest: Support testing macro usability in #if.
Joseph Myers [Tue, 1 May 2012 20:03:42 +0000 (20:03 +0000)]
conformtest: Support testing macro usability in #if.

12 years agoconformtest: Support specifying types before promotion.
Joseph Myers [Tue, 1 May 2012 20:03:15 +0000 (20:03 +0000)]
conformtest: Support specifying types before promotion.

12 years agoconformtest: Unify "macro" and "constant" handling.
Joseph Myers [Tue, 1 May 2012 20:02:48 +0000 (20:02 +0000)]
conformtest: Unify "macro" and "constant" handling.

12 years agoconformtest: Unify "macro" cases.
Joseph Myers [Tue, 1 May 2012 20:02:19 +0000 (20:02 +0000)]
conformtest: Unify "macro" cases.

12 years agoconformtest: Unify "constant" and "typed-constant".
Joseph Myers [Tue, 1 May 2012 20:01:48 +0000 (20:01 +0000)]
conformtest: Unify "constant" and "typed-constant".

12 years agoconformtest: Unify handling of "optional-" and non-optional lines.
Joseph Myers [Tue, 1 May 2012 20:00:56 +0000 (20:00 +0000)]
conformtest: Unify handling of "optional-" and non-optional lines.

12 years agoconformtest: Unify variants of "constant" and "optional-constant".
Joseph Myers [Tue, 1 May 2012 20:00:24 +0000 (20:00 +0000)]
conformtest: Unify variants of "constant" and "optional-constant".

12 years agoconformtest: Always pass C standards options to compiler.
Joseph Myers [Tue, 1 May 2012 19:59:47 +0000 (19:59 +0000)]
conformtest: Always pass C standards options to compiler.

12 years agoconformtest: Improve math.h tests for X/Open versions.
Joseph Myers [Tue, 1 May 2012 19:59:15 +0000 (19:59 +0000)]
conformtest: Improve math.h tests for X/Open versions.

12 years agoconformtest: Use correct feature test macros for XPG4.
Joseph Myers [Tue, 1 May 2012 19:58:35 +0000 (19:58 +0000)]
conformtest: Use correct feature test macros for XPG4.

12 years agoconformtest: Handle "symbol" lines for allow-header.
Joseph Myers [Tue, 1 May 2012 19:58:06 +0000 (19:58 +0000)]
conformtest: Handle "symbol" lines for allow-header.

12 years agoRemove unused localtime makefile variables.
Joseph Myers [Tue, 1 May 2012 18:56:25 +0000 (18:56 +0000)]
Remove unused localtime makefile variables.

12 years agoUpdate powerpc ABI data
Andreas Schwab [Mon, 30 Apr 2012 23:12:54 +0000 (01:12 +0200)]
Update powerpc ABI data

12 years agoNote bug 6959 also fixed for 2.16.
Joseph Myers [Tue, 1 May 2012 16:18:56 +0000 (16:18 +0000)]
Note bug 6959 also fixed for 2.16.

12 years agoFix nexttoward bugs (bugs 2550, 2570).
Joseph Myers [Tue, 1 May 2012 15:37:43 +0000 (15:37 +0000)]
Fix nexttoward bugs (bugs 2550, 2570).

12 years agoFix missing nearbyintl@GLIBC_2.1 on powerpc
Andreas Schwab [Mon, 30 Apr 2012 23:10:20 +0000 (01:10 +0200)]
Fix missing nearbyintl@GLIBC_2.1 on powerpc

12 years agoFix x86 acos near 1 (bug 13942).
Joseph Myers [Mon, 30 Apr 2012 18:56:39 +0000 (18:56 +0000)]
Fix x86 acos near 1 (bug 13942).

12 years agoFix acos (-1) in round-downwards mode on x86 (bug 14034).
Joseph Myers [Mon, 30 Apr 2012 09:38:06 +0000 (09:38 +0000)]
Fix acos (-1) in round-downwards mode on x86 (bug 14034).

12 years agoFix exp10 spurious overflows (bug 13924).
Joseph Myers [Mon, 30 Apr 2012 09:37:01 +0000 (09:37 +0000)]
Fix exp10 spurious overflows (bug 13924).

12 years agoFix February month name in de_AT locale
Aurelien Jarno [Sun, 29 Apr 2012 14:44:53 +0000 (16:44 +0200)]
Fix February month name in de_AT locale

The current de_AT locale defines "Feber" for the month of February,
which is correct in some parts of Austria, but is not the standards.
This patch fixes the problem by changing it to the standards version
"Februar".

2012-04-29  Aurelien Jarno  <aurelien@aurel32.net>

        * locales/de_AT: Change month name from "Feber" to "Februar".

12 years agoList bug 14033 as fixed on mainline.
Joseph Myers [Sun, 29 Apr 2012 16:21:42 +0000 (16:21 +0000)]
List bug 14033 as fixed on mainline.

12 years agoFix attributes for fortify functions.
Marek Polacek [Sun, 29 Apr 2012 13:34:20 +0000 (15:34 +0200)]
Fix attributes for fortify functions.

12 years agoAlways run check-abi
Andreas Jaeger [Sun, 29 Apr 2012 04:31:26 +0000 (06:31 +0200)]
Always run check-abi

Remove the configure options for running of check-abi and always
run it as part of the testsuite

12 years agoDon't use long double *_finite functions if no long double math
Andreas Schwab [Sat, 28 Apr 2012 14:39:41 +0000 (16:39 +0200)]
Don't use long double *_finite functions if no long double math

12 years agoFix formatting of denormal IBM long double numbers
Andreas Schwab [Tue, 3 Apr 2012 16:38:46 +0000 (18:38 +0200)]
Fix formatting of denormal IBM long double numbers

12 years agoDon't run tests when cross-compiling
Andreas Schwab [Sat, 14 Nov 2009 09:42:02 +0000 (10:42 +0100)]
Don't run tests when cross-compiling

12 years agoAdd missed zero length files in previous abilist commit.
David S. Miller [Sat, 28 Apr 2012 19:38:24 +0000 (15:38 -0400)]
Add missed zero length files in previous abilist commit.

12 years agoconformtest: Remove duplicate typed-constant handling.
Joseph Myers [Sat, 28 Apr 2012 08:40:38 +0000 (01:40 -0700)]
conformtest: Remove duplicate typed-constant handling.

12 years agoMove abilist files into sysdep dirs.
David S. Miller [Sat, 28 Apr 2012 08:36:51 +0000 (04:36 -0400)]
Move abilist files into sysdep dirs.

* Makerules (%.abilist): Add vpath on sysdep_dirs.
(check-abi-%): Remove AWK script prerequisite and explicit
abilist directory.
(check-abi): Rewrite to just diff the symlist with the abilist.
(config-tls, config-abi-config): Delete, no longer used.
(update-abi-%): Remove AWK script and explicit abilist directory.
(update-abi): Rewrite to simply compare and conditionally copy the
symlist and the sysdep abilist file.  Remove update-abi-config
checks.
* abilist/ld.abilist: Remove.
* abilist/libBrokenLocale.abilist: Remove.
* abilist/libanl.abilist: Remove.
* abilist/libcrypt.abilist: Remove.
* abilist/libdl.abilist: Remove.
* abilist/librt.abilist: Remove.
* abilist/libthread_db.abilist: Remove.
* abilist/libutil.abilist: Remove.
* scripts/extract-abilist.awk: Remove.
* scripts/merge-abilist.awk: Remove.
* sysdeps/generic/libcidn.abilist: New file.
* sysdeps/generic/libnss_compat.abilist: New file.
* sysdeps/generic/libnss_db.abilist: New file.
* sysdeps/generic/libnss_dns.abilist: New file.
* sysdeps/generic/libnss_files.abilist: New file.
* sysdeps/generic/libnss_hesiod.abilist: New file.
* sysdeps/generic/libnss_nis.abilist: New file.
* sysdeps/generic/libnss_nisplus.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
file.
* sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
file.
* sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
file.
* sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
file.
* sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
file.

12 years agoconformtest: Fix typo in handling typed-constant from allow-header.
Joseph Myers [Sat, 28 Apr 2012 08:27:20 +0000 (01:27 -0700)]
conformtest: Fix typo in handling typed-constant from allow-header.

12 years agoUpdate README to describe current supported systems.
Joseph Myers [Fri, 27 Apr 2012 21:35:47 +0000 (21:35 +0000)]
Update README to describe current supported systems.

12 years agoCorrect incorrect bug number ordering in resolved bug list.
Ryan S. Arnold [Fri, 27 Apr 2012 19:05:23 +0000 (14:05 -0500)]
Correct incorrect bug number ordering in resolved bug list.

12 years agoAllow build-system programs to be built without optimization.
Joseph Myers [Fri, 27 Apr 2012 18:54:52 +0000 (18:54 +0000)]
Allow build-system programs to be built without optimization.

12 years agoRemove spurious '.' in math/libm-test.inc comment.
Ryan S. Arnold [Fri, 27 Apr 2012 17:36:46 +0000 (12:36 -0500)]
Remove spurious '.' in math/libm-test.inc comment.

12 years agoNew test to expose erroneous negative sign on logb(1) (bug 887).
Ryan S. Arnold [Fri, 27 Apr 2012 15:47:39 +0000 (10:47 -0500)]
New test to expose erroneous negative sign on logb(1) (bug 887).

12 years agoFix fenv.h fallback returns (bug 14027).
Joseph Myers [Fri, 27 Apr 2012 13:54:09 +0000 (13:54 +0000)]
Fix fenv.h fallback returns (bug 14027).

12 years agoRemove unused sysdeps/unix/i386 files.
Joseph Myers [Thu, 26 Apr 2012 18:45:56 +0000 (18:45 +0000)]
Remove unused sysdeps/unix/i386 files.

12 years agoMove sysdeps/unix/common/tcsendbrk.c to sysdeps/unix/sysv/linux/.
Joseph Myers [Thu, 26 Apr 2012 18:44:38 +0000 (18:44 +0000)]
Move sysdeps/unix/common/tcsendbrk.c to sysdeps/unix/sysv/linux/.

12 years agoDon't handle unsupported OSes in configure (base_os settings).
Joseph Myers [Thu, 26 Apr 2012 18:42:42 +0000 (18:42 +0000)]
Don't handle unsupported OSes in configure (base_os settings).

12 years agoFix ctan, ctanh overflow for ldbl-128ibm (bug 11521).
Adhemerval Zanella [Thu, 26 Apr 2012 16:18:11 +0000 (11:18 -0500)]
Fix ctan, ctanh overflow for ldbl-128ibm (bug 11521).

12 years agoFix missing long-double compat symbols on sparc v9.
David S. Miller [Thu, 26 Apr 2012 09:50:20 +0000 (02:50 -0700)]
Fix missing long-double compat symbols on sparc v9.

* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
long-double compat symbols.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.

12 years agoRestore non-v9 32-bit sparc build.
David S. Miller [Thu, 26 Apr 2012 05:24:00 +0000 (22:24 -0700)]
Restore non-v9 32-bit sparc build.

* sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
HWCAP_* values only after the memory barriers have been defined.
(atomic_full_barrier): Define.
(atomic_read_barrier): Define.
(atomic_write_barrier): Define.

12 years agomove libgcc_s soname definition to shlib-versions
Siddhesh Poyarekar [Thu, 26 Apr 2012 03:48:48 +0000 (09:18 +0530)]
move libgcc_s soname definition to shlib-versions

12 years agoDelete everything under sysdeps/unix/sparc/
David S. Miller [Wed, 25 Apr 2012 18:44:02 +0000 (11:44 -0700)]
Delete everything under sysdeps/unix/sparc/

* sysdeps/unix/sparc/brk.S: Delete.
* sysdeps/unix/sparc/dl-brk.S: Delete.
* sysdeps/unix/sparc/pipe.S: Delete.
* sysdeps/unix/sparc/sysdep.S: Delete.
* sysdeps/unix/sparc/sysdep.h: Delete.
* sysdeps/unix/sparc/vfork.S: Delete.
* sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
* sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
ret_ERRVAL, r0, r1, MOVE): Define.
(JUMPTARGET): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
sysdeps/unix/sparc/sysdep.h
(ENTRY, END): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.

12 years agoUse more defines and makefile variables in $(native-compile).
Joseph Myers [Wed, 25 Apr 2012 18:51:38 +0000 (18:51 +0000)]
Use more defines and makefile variables in $(native-compile).

12 years agoUpdate zdump and zic from tzcode 2012b.
Joseph Myers [Wed, 25 Apr 2012 18:50:39 +0000 (18:50 +0000)]
Update zdump and zic from tzcode 2012b.

12 years agoRemove --as-needed configure test.
Joseph Myers [Wed, 25 Apr 2012 17:02:33 +0000 (17:02 +0000)]
Remove --as-needed configure test.

12 years agoParse hexadecimal and octal strings correctly
Siddhesh Poyarekar [Wed, 25 Apr 2012 06:22:39 +0000 (11:52 +0530)]
Parse hexadecimal and octal strings correctly

The current implementation of __strtoul_internal seems to only pretend
to support hex and octal strings by detecting a preceding 0x or 0 and
marking base as 8 or 16. When it comes to the actual processing of the
string, it only considers numeric values within, thus breaking hex
values that may have [a-f] in them. Fixed with this commit.

12 years agoSH: Replace <endian.h> usage with pre-processor macros.
Chung-Lin Tang [Tue, 24 Apr 2012 13:32:11 +0000 (21:32 +0800)]
SH: Replace <endian.h> usage with pre-processor macros.

Follow-up to f8887d0a5feda97244613135822b0439addc2b1f.

12 years agoRemove unused fork implementations.
Joseph Myers [Tue, 24 Apr 2012 23:02:49 +0000 (23:02 +0000)]
Remove unused fork implementations.

12 years agoRemove unused sysdeps/unix/system.c.
Joseph Myers [Tue, 24 Apr 2012 21:53:41 +0000 (21:53 +0000)]
Remove unused sysdeps/unix/system.c.

12 years agoAdd flexibility to localplt-*.data files, using an awk script rather than diff to...
Roland McGrath [Tue, 24 Apr 2012 20:53:38 +0000 (13:53 -0700)]
Add flexibility to localplt-*.data files, using an awk script rather than diff to check the results.

12 years agoRemove unused sysdeps/unix/getegid.S and sysdeps/unix/geteuid.S.
Joseph Myers [Tue, 24 Apr 2012 21:27:17 +0000 (21:27 +0000)]
Remove unused sysdeps/unix/getegid.S and sysdeps/unix/geteuid.S.

12 years agoHurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate.
Roland McGrath [Tue, 24 Apr 2012 20:12:12 +0000 (13:12 -0700)]
Hurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate.

12 years agoMerge branch 'master' of git://sourceware.org/git/glibc
Andreas Jaeger [Tue, 24 Apr 2012 20:10:04 +0000 (22:10 +0200)]
Merge branch 'master' of git://sourceware.org/git/glibc

12 years agoCleanup generated header files during make check
Andreas Jaeger [Tue, 24 Apr 2012 20:08:49 +0000 (22:08 +0200)]
Cleanup generated header files during make check

* Makerules (common-clean): Also remove gen-as-const-headers
files.

12 years agoMake $(native-compile) run in source directory like other compilation commands.
Joseph Myers [Tue, 24 Apr 2012 20:05:34 +0000 (20:05 +0000)]
Make $(native-compile) run in source directory like other compilation commands.

12 years agoCorrect powerpc64 s_floorl edge cases (bug 13886).
Adhemerval Zanella [Tue, 24 Apr 2012 19:21:45 +0000 (14:21 -0500)]
Correct powerpc64 s_floorl edge cases (bug 13886).

[BZ #13886]
Remove powerpc64/fpu/s_floorl.  Use fully correct ldbl-128bim/s_floorl.c.

12 years agoRemove unused sysdeps/unix/{,sysv/}getdents.c.
Joseph Myers [Tue, 24 Apr 2012 18:48:59 +0000 (18:48 +0000)]
Remove unused sysdeps/unix/{,sysv/}getdents.c.

12 years agoMerge sysdeps/unix/mman into sysdeps/unix.
Joseph Myers [Tue, 24 Apr 2012 18:46:47 +0000 (18:46 +0000)]
Merge sysdeps/unix/mman into sysdeps/unix.

12 years agoDon't handle libgcc_s suffixes.
Joseph Myers [Tue, 24 Apr 2012 10:22:45 +0000 (10:22 +0000)]
Don't handle libgcc_s suffixes.

12 years ago* NEWS: Add bug 13970.
Paul Eggert [Mon, 23 Apr 2012 19:55:16 +0000 (12:55 -0700)]
* NEWS: Add bug 13970.

12 years agoAdd BZ number
Andreas Jaeger [Mon, 23 Apr 2012 19:39:30 +0000 (21:39 +0200)]
Add BZ number

12 years agoMove sysdeps/unix/sysv/gethostname.c to sysdeps/posix/.
Joseph Myers [Mon, 23 Apr 2012 18:53:47 +0000 (18:53 +0000)]
Move sysdeps/unix/sysv/gethostname.c to sysdeps/posix/.

12 years agoRemove unused sysdeps/unix/execve.S.
Joseph Myers [Mon, 23 Apr 2012 18:52:33 +0000 (18:52 +0000)]
Remove unused sysdeps/unix/execve.S.

12 years agoRemove unused sysdeps/unix/_exit.S.
Joseph Myers [Mon, 23 Apr 2012 18:51:37 +0000 (18:51 +0000)]
Remove unused sysdeps/unix/_exit.S.

12 years agoRemove standalone manual support
Andreas Jaeger [Mon, 23 Apr 2012 18:44:49 +0000 (20:44 +0200)]
Remove standalone manual support

[BZ #13739]
We don't need a separate manual distribution
tar ball anymore, remove support for it from manual/Makefile.

12 years ago* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
Paul Eggert [Mon, 23 Apr 2012 17:43:28 +0000 (10:43 -0700)]
* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.

[BZ #13970]
(strtod, strtof, strtold, strtol, strtoul, strtoq)
(strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
(strtod_l, strtof_l, strtold_l): Remove __wur.
It is not necessarily an error to ignore strtol's return value.
One can reliably look at the stored endptr to decide whether
the number had valid syntax.

12 years agoAdd BZ#13739 to entry.
Andreas Jaeger [Sat, 21 Apr 2012 19:01:42 +0000 (21:01 +0200)]
Add BZ#13739 to entry.

12 years agoRemove last distribute variable
Andreas Jaeger [Sat, 21 Apr 2012 18:38:10 +0000 (20:38 +0200)]
Remove last distribute variable

make dist support has been removed, remove the last remains of it.

12 years agoUpdate name and email address
Andreas Jaeger [Sat, 21 Apr 2012 18:33:18 +0000 (20:33 +0200)]
Update name and email address

12 years agoMerge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions.
Joseph Myers [Sat, 21 Apr 2012 13:18:11 +0000 (13:18 +0000)]
Merge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions.

12 years agoUpdate sysdeps/x86_64/fpu/libm-test-ulps
Markus Trippelsdorf [Sat, 21 Apr 2012 12:14:27 +0000 (14:14 +0200)]
Update sysdeps/x86_64/fpu/libm-test-ulps

[BZ #13927]
* sysdeps/x86_64/fpu/libm-test-ulps: Update.

12 years agoPut vm86 into libc.a
Nix [Sat, 21 Apr 2012 05:12:50 +0000 (07:12 +0200)]
Put vm86 into libc.a

[BZ #7064]
vm86 was not included in libc.a at all due to the default symbol
explicitely added to the weak symbol.

12 years agoRemove unused sysdeps/unix/common/lxstat.c.
Joseph Myers [Fri, 20 Apr 2012 22:39:42 +0000 (22:39 +0000)]
Remove unused sysdeps/unix/common/lxstat.c.

12 years agoRemove sysdeps/unix/sysv/Makefile.
Joseph Myers [Fri, 20 Apr 2012 22:34:45 +0000 (22:34 +0000)]
Remove sysdeps/unix/sysv/Makefile.