David S. Miller
7f18b530e9
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.
2012-05-07 16:54:11 -07:00
Andreas Jaeger
20f244a03f
Revert "Build glibc with -frounding-math"
...
This reverts commit bd7b0e561f
.
Conflicts:
ChangeLog
2012-05-07 21:50:25 +02:00
Joseph Myers
495fd99f3a
Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).
2012-05-07 19:13:08 +00:00
David S. Miller
6693d69429
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.
2012-05-06 20:15:50 -07:00
Joseph Myers
d8b82cad1b
Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).
2012-05-06 18:23:44 +00:00
Joseph Myers
6c23e11c4d
Fix libm-test.inc ulps calculation for subnormals (bug 14064).
2012-05-06 18:20:21 +00:00
Andreas Jaeger
62881be42d
Patch 31dc8730af
fixes BZ#13563
...
Update NEWS and ChangeLog with BZ #13563
2012-05-06 19:51:46 +02:00
Andreas Jaeger
d7cf87a64e
Update x86-64 libm-test-ulps
2012-05-06 09:32:12 +02:00
Andreas Jaeger
ff8faaf0a7
Fix date
2012-05-06 09:16:12 +02:00
Andreas Jaeger
bd7b0e561f
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.
2012-05-06 09:14:15 +02:00
Joseph Myers
5779f134a0
Disable one hypot test for inline double testing.
2012-05-05 19:38:31 +00:00
Joseph Myers
41498f4db1
Fix missing exceptions from exp (bugs 13787, 13922, 14036).
2012-05-05 19:37:39 +00:00
Joseph Myers
6698b8bf43
Use .S sources for x86/x86_64 expl.
2012-05-05 19:34:31 +00:00
Joseph Myers
7b17aeda0c
Remove overridden entries from sysdeps/unix/sysv/syscalls.list.
2012-05-05 10:28:28 +00:00
Joseph Myers
f7c85819fd
Merge sysdeps/unix/common into sysdeps/unix.
2012-05-04 23:15:56 +00:00
H.J. Lu
336270d0f1
Move x86-64 abilist files to 64/nptl
2012-05-04 16:13:07 -07:00
Joseph Myers
fa8ee51614
Remove unused sysdeps/unix/common/bits/ headers.
2012-05-04 22:37:11 +00:00
Joseph Myers
d128e45089
Remove unused sysdeps/unix/bsd/ files.
2012-05-04 22:36:16 +00:00
Roland McGrath
2b942cb718
ChangeLog leading tabification.
2012-05-04 12:53:01 -07:00
Roland McGrath
461b8e5ac8
ChangeLog formatting nit.
2012-05-04 12:52:25 -07:00
Andreas Jaeger
110c96ff29
Revert "Do not build manual in the source directory"
...
This reverts commit e3945c47bd
.
reverting since it breaks building.
2012-05-04 17:09:56 +02:00
Andreas Jaeger
1261f5d10c
Revert "Update install.texi for building manual in build dir"
...
This reverts commit 0d80ac6813
.
Reverting since e3945c47bd
gets reverted
as well.
2012-05-04 17:09:22 +02:00
Andreas Jaeger
0d80ac6813
Update install.texi for building manual in build dir
2012-05-04 13:28:33 +02:00
Andreas Jaeger
e3945c47bd
Do not build manual in the source directory
...
[BZ #13750 ]
Build the manual in the build directory and
not anymore in the source directory.
2012-05-04 13:13:57 +02:00
Adhemerval Zanella
31dc8730af
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.
2012-05-04 13:06:32 +02:00
Andreas Schwab
6fef930cf3
Fix missing vm86 symbol
2012-05-04 12:46:23 +02:00
Joseph Myers
8f203e6cb6
Fix strtod rounding of hex values (bug 14049).
2012-05-04 10:44:39 +00:00
Andreas Krebbel
5197d9c2b4
Update s390 libm-test-ulps
2012-05-04 10:05:41 +02:00
Andreas Jaeger
f0c1dedf0d
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).
2012-05-03 22:12:59 +02:00
Andreas Jaeger
a65ef2aefa
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.
2012-05-03 20:51:38 +02:00
David S. Miller
76e835cf9e
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.
2012-05-03 11:48:13 -07:00
Joseph Myers
54b71e0283
Fix conditions on checking versions of dprintf (bug 13775).
2012-05-03 18:42:37 +00:00
Roland McGrath
d3dfcc4187
Fix make clean for recent elf/Makefile changes.
2012-05-03 09:52:47 -07:00
Andreas Jaeger
0c51e5500a
Update sysdeps/i386/fpu/libm-test-ulps
2012-05-03 16:22:52 +02:00
Andreas Jaeger
7ac30cc5f0
Move FAQ to wiki
...
The FAQ is now at http://sourceware.org/glibc/wiki/FAQ and not
anymore part of the repository.
2012-05-03 09:46:57 +02:00
David S. Miller
e2dbf201ab
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.
2012-05-02 19:04:54 -07:00
Allan McRae
d4c2917fc5
Fix test-suite failues with -Wl,--as-needed
...
Signed-off-by: Allan McRae <allan@archlinux.org>
2012-05-02 20:32:50 -04:00
David S. Miller
d77f993f64
Update sparc ULPs for recently added acos/asin tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-02 16:44:21 -07:00
Paul Pluzhnikov
171a70b4c0
For PR 14055, add bounds check to _dl_show_auxv().
2012-05-02 14:35:30 -07:00
Paul Pluzhnikov
ff8a695b6d
Kill trailing whitespace.
2012-05-02 14:01:37 -07:00
Paul Pluzhnikov
b93d565a51
Avoid "anonymous" code in pthread_spin_lock.
2012-05-02 13:58:40 -07:00
Andreas Jaeger
0be196adda
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.
2012-05-02 16:33:18 +02:00
Adhemerval Zanella
4f9d04aa8f
Fix nexttoward bugs
...
[BZ #2550 ]
[BZ #2570 ]
* sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
comparisons to determine direction to adjust input.
2012-05-02 15:14:17 +02:00
Roland McGrath
f5a01ca927
Redirect check-localplt output to check-localplt.out.
2012-05-01 13:30:55 -07:00
Roland McGrath
90fe4186b3
Do check-localplt test using readelf rather than a build-time C program.
2012-05-01 13:30:35 -07:00
Roland McGrath
82397ed6ea
Do check-execstack test using readelf rather than a build-time C program.
2012-05-01 13:27:52 -07:00
Roland McGrath
82a79e7d18
Do check-textrel test using readelf rather than a build-time C program.
2012-05-01 13:27:11 -07:00
Joseph Myers
615605c94e
conformtest: Update expectations for some ISO C headers.
2012-05-01 20:05:49 +00:00
Joseph Myers
c9140a622e
conformtest: Check namespace within __attribute__.
2012-05-01 20:05:14 +00:00
Joseph Myers
9af0bf29de
conformtest: Use correct keyword set for underlying C standard.
2012-05-01 20:04:44 +00:00