platform/upstream/glibc.git
12 years agoHurd: Include RPC user stubs in linkobj/libc.so
Thomas Schwinge [Thu, 10 May 2012 21:52:03 +0000 (14:52 -0700)]
Hurd: Include RPC user stubs in linkobj/libc.so

12 years agoHurd: Fix value of __libc_stack_end
Samuel Thibault [Thu, 10 May 2012 21:51:22 +0000 (14:51 -0700)]
Hurd: Fix value of __libc_stack_end

12 years agoHurd: libc_once_get
Thomas Schwinge [Thu, 10 May 2012 21:50:14 +0000 (14:50 -0700)]
Hurd: libc_once_get

12 years agoHurd: #include <kernel-features.h>
Thomas Schwinge [Thu, 10 May 2012 21:39:53 +0000 (14:39 -0700)]
Hurd: #include <kernel-features.h>

12 years agoAdd a missing #include.
Roland McGrath [Thu, 10 May 2012 21:38:43 +0000 (14:38 -0700)]
Add a missing #include.

12 years agoHurd: setitimer.c: Fix unlock in error patch
Samuel Thibault [Thu, 10 May 2012 20:33:47 +0000 (13:33 -0700)]
Hurd: setitimer.c: Fix unlock in error patch

12 years agoHurd: ioctl() incorrectly decodes argument
Samuel Thibault [Thu, 10 May 2012 20:26:40 +0000 (13:26 -0700)]
Hurd: ioctl() incorrectly decodes argument

12 years agoHurd: Avoid init-first.c miscompilation.
Thomas Schwinge [Thu, 10 May 2012 20:20:47 +0000 (13:20 -0700)]
Hurd: Avoid init-first.c miscompilation.

12 years agoHurd: dup3
Thomas Schwinge [Thu, 10 May 2012 20:15:40 +0000 (13:15 -0700)]
Hurd: dup3

12 years agoHurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.
Samuel Thibault [Thu, 10 May 2012 20:10:21 +0000 (13:10 -0700)]
Hurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.

12 years agoHurd: Missing critical region locks.
Samuel Thibault [Thu, 10 May 2012 20:00:01 +0000 (13:00 -0700)]
Hurd: Missing critical region locks.

12 years agoHurd: Fix signal-catching functions.
Samuel Thibault [Thu, 10 May 2012 19:59:00 +0000 (12:59 -0700)]
Hurd: Fix signal-catching functions.

12 years agoHurd: bits/socket.h
Thomas Schwinge [Thu, 10 May 2012 19:56:56 +0000 (12:56 -0700)]
Hurd: bits/socket.h

12 years agoHurd: accept4
Thomas Schwinge [Thu, 10 May 2012 19:53:02 +0000 (12:53 -0700)]
Hurd: accept4

12 years agoHurd: ____longjmp_chk
Thomas Schwinge [Thu, 10 May 2012 19:47:31 +0000 (12:47 -0700)]
Hurd: ____longjmp_chk

12 years agoHurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6
Samuel Thibault [Thu, 10 May 2012 19:47:00 +0000 (12:47 -0700)]
Hurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6

12 years agoHurd: O_CLOEXEC in rtld
Thomas Schwinge [Thu, 10 May 2012 19:43:01 +0000 (12:43 -0700)]
Hurd: O_CLOEXEC in rtld

12 years agoHurd: Add more ipv6 macros.
Samuel Thibault [Thu, 10 May 2012 19:37:15 +0000 (12:37 -0700)]
Hurd: Add more ipv6 macros.

12 years agoFix for logb/logbf/logbl (bugs 13954/13955/13956)
Adhemerval Zanella [Thu, 10 May 2012 20:11:55 +0000 (15:11 -0500)]
Fix for logb/logbf/logbl (bugs 13954/13955/13956)

POSIX 2008 states that if the input for 'logb[f|l]' is a subnormal number
it should be treated as if it were normalized.  This means the
implementation should calculate the log2 of the mantissa and add it to the
subnormal exponent (-126 for float and -1022 for double and IBM long
double).  This patch takes care of that.

12 years agoMake sunrpc code usable again
Andreas Jaeger [Thu, 10 May 2012 18:16:53 +0000 (20:16 +0200)]
Make sunrpc code usable again

  New configure option --enable-obsolete-rpc makes the deprecated RPC
  headers and functions available at compile time as they were before
  version 2.14.  This option will be removed at some time in the future
  after the TI-RPC library becomes fully sufficient for the needs of
  existing applications.

12 years agoTypo fix in x86_64/dl-machine.h
Roland McGrath [Thu, 10 May 2012 17:20:51 +0000 (10:20 -0700)]
Typo fix in x86_64/dl-machine.h

12 years agoDefine __STDC_NO_THREADS__.
Joseph Myers [Thu, 10 May 2012 17:11:08 +0000 (17:11 +0000)]
Define __STDC_NO_THREADS__.

12 years agoBuild rpcgen-generated files when cross compiling.
Maxim Kuvyrkov [Thu, 10 May 2012 17:07:45 +0000 (17:07 +0000)]
Build rpcgen-generated files when cross compiling.

12 years agoSign extend R_X86_64_DTPOFF64/R_X86_64_TPOFF64
H.J. Lu [Thu, 10 May 2012 17:05:40 +0000 (10:05 -0700)]
Sign extend R_X86_64_DTPOFF64/R_X86_64_TPOFF64

12 years agoMove remaining syscalls from sysdeps/unix/sysv/syscalls.list to sysdeps/unix/sysv...
Joseph Myers [Thu, 10 May 2012 14:51:08 +0000 (14:51 +0000)]
Move remaining syscalls from sysdeps/unix/sysv/syscalls.list to sysdeps/unix/sysv/linux/syscalls.list.

12 years ago[PATCH] [BZ #3440] Make LC_ALL etc. useful in #if expressions.
Paul Eggert [Thu, 10 May 2012 12:38:09 +0000 (12:38 +0000)]
[PATCH] [BZ #3440] Make LC_ALL etc. useful in #if expressions.

12 years agoAdd dependency tracking for rpc-compat-routines
Andreas Schwab [Thu, 3 May 2012 22:19:54 +0000 (00:19 +0200)]
Add dependency tracking for rpc-compat-routines

12 years agoUpdate stdlib/longlong.h from GCC
H.J. Lu [Wed, 9 May 2012 22:36:41 +0000 (15:36 -0700)]
Update stdlib/longlong.h from GCC

12 years agoCleanup nscd.c
Andreas Jaeger [Wed, 9 May 2012 19:34:47 +0000 (21:34 +0200)]
Cleanup nscd.c

2012-05-09  Andreas Jaeger  <aj@suse.de>

* nscd/nscd.c (run_modes): Make named enum, reorder so that
default is first entry.
(run_mode): Set type.
(main): Remove informal message about syslog.
(options): Fix typo.

12 years agoAdd volatiles for x86-64 bits/mathinline.h
Andreas Jaeger [Wed, 9 May 2012 18:17:21 +0000 (20:17 +0200)]
Add volatiles for x86-64 bits/mathinline.h

[BZ #14053]
GCC 4.7 might remove consecutive calls to e.g. lrintf since
the assembler instructions are the same and GCC does not know
that the result is different depending on the rounding mode.  For
SSE instructions, the control register is not available so there
is no way to inform GCC about this. Therefore the asms are marked
as volatile.

12 years agoCleanup last patch for nscd/nscd.c
Andreas Jaeger [Wed, 9 May 2012 15:41:25 +0000 (17:41 +0200)]
Cleanup last patch for nscd/nscd.c

* nscd/nscd.c (run_mode): Use enum.
(main): Cleanup coding style issue.

12 years agoAdd --foreground option for nscd
Andreas Jaeger [Wed, 9 May 2012 14:54:38 +0000 (16:54 +0200)]
Add --foreground option for nscd

For a better integration of nscd with systemd, we should run nscd not as
daemon but in the foreground. A new --foreground option should be added.

2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
    Andreas Jaeger  <aj@suse.de>

        * nscd/nscd.c (go_background): Replaced with...
        (run_mode): ... this.
(RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
        (options): Add -F --foreground.
        (main): Implement it.
        (parse_opt): Parse it.

12 years agoFix strspn warning with -Wconversion
Andreas Jaeger [Wed, 9 May 2012 14:47:57 +0000 (16:47 +0200)]
Fix strspn warning with -Wconversion

[BZ #14083]
Fix warning when using strspn with -Wconversion:
$ gcc -Wconversion -O t.c
t.c: In function ‘main’:
t.c:8:7: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]

12 years agoconformtest: Update expectations for more ISO C headers.
Joseph Myers [Wed, 9 May 2012 10:04:19 +0000 (10:04 +0000)]
conformtest: Update expectations for more ISO C headers.

12 years agoUse CFI statements instead of hand-coding .eh_frame.
Chung-Lin Tang [Wed, 9 May 2012 09:48:42 +0000 (17:48 +0800)]
Use CFI statements instead of hand-coding .eh_frame.

12 years agoFix daylight time change for the US
Ian Wienand [Wed, 9 May 2012 04:13:29 +0000 (06:13 +0200)]
Fix daylight time change for the US

[BZ #14080]
* time/tzset.c (__tzset_parse_tz): Update default rules for
daylight time changes in the Energy Policy Act of 2005.

12 years agoMake ldconfig message clearer
Andreas Jaeger [Wed, 9 May 2012 04:08:28 +0000 (06:08 +0200)]
Make ldconfig message clearer

[BZ #13983]
Let not confuse the user and think there's an error instead of
a warning.

12 years agoMinor optimization to sparc VIS3 floor() implementation.
David S. Miller [Tue, 8 May 2012 18:17:07 +0000 (11:17 -0700)]
Minor optimization to sparc VIS3 floor() implementation.

* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
movxtod instead of popping the value on the stack.

12 years agoWith -frounding-math, some sparc ULPs need to be adjusted.
David S. Miller [Tue, 8 May 2012 17:58:01 +0000 (10:58 -0700)]
With -frounding-math, some sparc ULPs need to be adjusted.

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

12 years agoARM: Define HAVE_ARM_PCS_VFP in config.h.
Carlos O'Donell [Mon, 7 May 2012 20:04:41 +0000 (16:04 -0400)]
ARM: Define HAVE_ARM_PCS_VFP in config.h.

If the compiler and flags would select the hard-float ABI
then the ARM configure fragment will set HAVE_ARM_PCS_VFP.
This is later used by the ARM shlib-versions to select
the appropriately named dynamic linker.

12 years agoWarn if user requests __FORTIFY_SOURCE but it is disabled
Roland Mc Grath [Tue, 8 May 2012 17:44:57 +0000 (19:44 +0200)]
Warn if user requests __FORTIFY_SOURCE but it is disabled

[BZ #13979]
        * include/features.h: Warn if user requests __FORTIFY_SOURCE
        checking but the checks are disabled for any reason.

12 years agoReplace Elf64_XXX/ELF64_R_TYPE with ElfW(XXX)/ELFW(R_TYPE)
H.J. Lu [Tue, 8 May 2012 16:39:58 +0000 (09:39 -0700)]
Replace Elf64_XXX/ELF64_R_TYPE with ElfW(XXX)/ELFW(R_TYPE)

12 years agoRemove more overridden entries from sysdeps/unix/sysv/syscalls.list.
Joseph Myers [Tue, 8 May 2012 13:34:45 +0000 (13:34 +0000)]
Remove more overridden entries from sysdeps/unix/sysv/syscalls.list.

12 years agoRemove entries from sysdeps/unix/sysv/syscalls.list duplicating ones in sysdeps/unix/.
Joseph Myers [Tue, 8 May 2012 11:18:02 +0000 (11:18 +0000)]
Remove entries from sysdeps/unix/sysv/syscalls.list duplicating ones in sysdeps/unix/.

12 years agoRevert "Revert "Build glibc with -frounding-math""
Andreas Jaeger [Tue, 8 May 2012 07:00:44 +0000 (09:00 +0200)]
Revert "Revert "Build glibc with -frounding-math""

This reverts commit 20f244a03fda84d1556674584b340e2459ef3d99.

12 years agotftp.h: rework layout to work with fortification
Mike Frysinger [Thu, 12 Apr 2012 15:18:39 +0000 (11:18 -0400)]
tftp.h: rework layout to work with fortification

The current tftp structure does not work when fortification is enabled.
Starting with gcc-4.5, more size checking was added to trigger these.
Older versions just didn't have enough information, so they returned -1
as the sizes.

First, the tu_stuff field is declared as 1 byte (when it's really an
arbitrary length C string), so attempting to strcpy() with it results
in crashes.  This fails with _FORTIFY_SOURCE=1.

Second, even if we change that to [0] (since gcc does not allow flexible
array members in an union), gcc is not smart enough to see that they are
two overlapping flexible arrays (tu_stuff and tu_data), so it will still
trigger an abort with _FORTIFY_SOURCE=2.  This is because it thinks that
tu_stuff is 0 bytes and tu_data comes after it.

Talking to upstream gcc, they don't seem terribly inclined to fix the
2nd issue, but even if they did, we still have plenty of 4.5 and 4.6
installs that would hit problems.

So, let's re-order with a few more anonymous structs & unions so that
the fields are laid out with a zero-length array always as the last
field.  This seems to fix things with gcc-4.6, and the tftp-hpa pkg
continues to build & work.

URL: https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/691345
URL: https://bugs.archlinux.org/task/28103
URL: https://bugs.gentoo.org/357083
URL: http://gcc.gnu.org/PR52944
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoUpdate sparc ULPs for recently added exp tests.
David S. Miller [Tue, 8 May 2012 02:29:24 +0000 (19:29 -0700)]
Update sparc ULPs for recently added exp tests.

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

12 years agoFix sparc libm when all of glibc is built with -frounding-math.
David S. Miller [Mon, 7 May 2012 23:54:11 +0000 (16:54 -0700)]
Fix sparc libm when all of glibc is built with -frounding-math.

[BZ #14074]
* sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
(SETUP_PIC_REG): Use it.
(SETUP_PIC_REG_LEAF): Use it.

12 years agoRevert "Build glibc with -frounding-math"
Andreas Jaeger [Mon, 7 May 2012 19:50:25 +0000 (21:50 +0200)]
Revert "Build glibc with -frounding-math"

This reverts commit bd7b0e561f7f684cedfc4adb964569fe9ab16209.

Conflicts:

ChangeLog

12 years agoFix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).
Joseph Myers [Mon, 7 May 2012 19:13:08 +0000 (19:13 +0000)]
Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).

12 years agoAdjust sparc localplt entries.
David S. Miller [Mon, 7 May 2012 03:15:50 +0000 (20:15 -0700)]
Adjust sparc localplt entries.

* scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers
to quad soft-float symbols whose references are compiler
generated.
* scripts/data/localplt-sparc64-linux-gnu.data: Likewise.

12 years agoFix exp10 inaccuracy and exceptions (bugs 13884, 13914).
Joseph Myers [Sun, 6 May 2012 18:23:44 +0000 (18:23 +0000)]
Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).

12 years agoFix libm-test.inc ulps calculation for subnormals (bug 14064).
Joseph Myers [Sun, 6 May 2012 18:20:21 +0000 (18:20 +0000)]
Fix libm-test.inc ulps calculation for subnormals (bug 14064).

12 years agoPatch 31dc8730af585d8e13021484752fb20decae0661 fixes BZ#13563
Andreas Jaeger [Sun, 6 May 2012 17:51:46 +0000 (19:51 +0200)]
Patch 31dc8730af585d8e13021484752fb20decae0661 fixes BZ#13563

Update NEWS and ChangeLog with BZ #13563

12 years agoUpdate x86-64 libm-test-ulps
Andreas Jaeger [Sun, 6 May 2012 07:30:24 +0000 (09:30 +0200)]
Update x86-64 libm-test-ulps

12 years agoFix date
Andreas Jaeger [Sun, 6 May 2012 07:16:12 +0000 (09:16 +0200)]
Fix date

12 years agoBuild glibc with -frounding-math
Andreas Jaeger [Sun, 6 May 2012 07:14:15 +0000 (09:14 +0200)]
Build glibc with -frounding-math

* Makeconfig (+math-flags): New, set to -frounding-math.
(+cflags): Add +math-flags so that all of glibc gets compiled with
it.

12 years agoDisable one hypot test for inline double testing.
Joseph Myers [Sat, 5 May 2012 19:38:31 +0000 (19:38 +0000)]
Disable one hypot test for inline double testing.

12 years agoFix missing exceptions from exp (bugs 13787, 13922, 14036).
Joseph Myers [Sat, 5 May 2012 19:37:39 +0000 (19:37 +0000)]
Fix missing exceptions from exp (bugs 13787, 13922, 14036).

12 years agoUse .S sources for x86/x86_64 expl.
Joseph Myers [Sat, 5 May 2012 19:34:31 +0000 (19:34 +0000)]
Use .S sources for x86/x86_64 expl.

12 years agoRemove overridden entries from sysdeps/unix/sysv/syscalls.list.
Joseph Myers [Sat, 5 May 2012 10:28:28 +0000 (10:28 +0000)]
Remove overridden entries from sysdeps/unix/sysv/syscalls.list.

12 years agoMerge sysdeps/unix/common into sysdeps/unix.
Joseph Myers [Fri, 4 May 2012 23:15:56 +0000 (23:15 +0000)]
Merge sysdeps/unix/common into sysdeps/unix.

12 years agoMove x86-64 abilist files to 64/nptl
H.J. Lu [Fri, 4 May 2012 22:35:37 +0000 (15:35 -0700)]
Move x86-64 abilist files to 64/nptl

12 years agoRemove unused sysdeps/unix/common/bits/ headers.
Joseph Myers [Fri, 4 May 2012 22:37:11 +0000 (22:37 +0000)]
Remove unused sysdeps/unix/common/bits/ headers.

12 years agoRemove unused sysdeps/unix/bsd/ files.
Joseph Myers [Fri, 4 May 2012 22:36:16 +0000 (22:36 +0000)]
Remove unused sysdeps/unix/bsd/ files.

12 years agoChangeLog leading tabification.
Roland McGrath [Fri, 4 May 2012 19:53:01 +0000 (12:53 -0700)]
ChangeLog leading tabification.

12 years agoChangeLog formatting nit.
Roland McGrath [Fri, 4 May 2012 19:52:25 +0000 (12:52 -0700)]
ChangeLog formatting nit.

12 years agoRevert "Do not build manual in the source directory"
Andreas Jaeger [Fri, 4 May 2012 15:09:56 +0000 (17:09 +0200)]
Revert "Do not build manual in the source directory"

This reverts commit e3945c47bdac1149a1fec5d46bd567a248cd17b9.

reverting since it breaks building.

12 years agoRevert "Update install.texi for building manual in build dir"
Andreas Jaeger [Fri, 4 May 2012 15:09:22 +0000 (17:09 +0200)]
Revert "Update install.texi for building manual in build dir"

This reverts commit 0d80ac6813e3bf21fad6d87202e9efe6d0c17a82.

Reverting since e3945c47bdac1149a1fec5d46bd567a248cd17b9 gets reverted
as well.

12 years agoUpdate install.texi for building manual in build dir
Andreas Jaeger [Fri, 4 May 2012 11:28:33 +0000 (13:28 +0200)]
Update install.texi for building manual in build dir

12 years agoDo not build manual in the source directory
Andreas Jaeger [Fri, 4 May 2012 11:13:57 +0000 (13:13 +0200)]
Do not build manual in the source directory

[BZ #13750]

Build the manual in the build directory and
not anymore in the source directory.

12 years agoFix for ldbl-128ibm acosl/asinl inaccuracies
Adhemerval Zanella [Fri, 4 May 2012 11:05:57 +0000 (13:05 +0200)]
Fix for ldbl-128ibm acosl/asinl inaccuracies

2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>

* sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
long double comparison inaccuracies.
* sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
* Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.

12 years agoFix missing vm86 symbol
Andreas Schwab [Sun, 29 Apr 2012 13:17:36 +0000 (15:17 +0200)]
Fix missing vm86 symbol

12 years agoFix strtod rounding of hex values (bug 14049).
Joseph Myers [Fri, 4 May 2012 10:44:39 +0000 (10:44 +0000)]
Fix strtod rounding of hex values (bug 14049).

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.