Commit Graph

14140 Commits

Author SHA1 Message Date
Siddhesh Poyarekar
4af3879c26 Wrap __builtin_expect in pthread.h
[BZ #14188]
This fixes compilation of programs using pthread_cleanup_push built
with non-gcc compilers and older gcc compilers.
2012-06-04 11:53:57 +05:30
David S. Miller
2fd6ff133b Sync longlong.h with GCC to fix a sparc regression.
* stdlib/longlong.h: Updated from GCC.
2012-06-03 18:51:43 -07:00
Andreas Schwab
173f722045 Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16 2012-06-02 21:21:15 +02:00
H.J. Lu
f34a1c6f5e Fix a typo in x86_64 sys/io.h 2012-06-01 17:43:26 -07:00
Joseph Myers
ea32bcdd3d Add default-abi definitions for powerpc, s390 and sparc. 2012-06-01 21:19:28 +00:00
Joseph Myers
88a4576f50 Remove unused default-abi definition in Makeconfig. 2012-06-01 21:17:36 +00:00
David S. Miller
402fe938f6 Update longlong.h from GCC to get some sparc improvements.
* stdlib/longlong.h: Updated from GCC.
2012-06-01 13:33:28 -07:00
H.J. Lu
3bd872c4c4 Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64 2012-06-01 13:22:46 -07:00
H.J. Lu
3553723f3c Define DR_LEN_8 only if __x86_64__ is defined 2012-06-01 13:06:37 -07:00
Joseph Myers
c5bfe3d5ba Fix fmod for subnormals (bug 14048). 2012-06-01 19:05:46 +00:00
Joseph Myers
4842e4fe5f Ensure additions are not scheduled after fetestexcept in fmaf and fmal. 2012-06-01 19:02:21 +00:00
Aurelien Jarno
efb734887e Add a barrier in the double fma implementation. 2012-06-01 19:01:17 +00:00
H.J. Lu
29bcce7ce4 Use i386 bits/wchar.h for i386 and x86-64 2012-06-01 11:16:15 -07:00
Adhemerval Zanella
73a68f94d6 PowerPC: Fix for POWER7 sinf/cosf
This patch fixes some sinf/cosf calculations that generated unexpected
underflows exceptions.
2012-06-01 10:10:18 -03:00
H.J. Lu
ebc64a18c0 Support __WORDSIZE == 64 in i386 bits/wchar.h 2012-05-31 20:35:10 -07:00
H.J. Lu
edf2933a37 Use x86_64 bits/typesizes.h for i386 and x86-64 2012-05-31 19:37:43 -07:00
H.J. Lu
57c6cf4038 Use __SWORD_TYPE for __FSWORD_T_TYPE with -m32 2012-05-31 19:33:55 -07:00
H.J. Lu
8eb6281eaa Use x86_64 bits/siginfo.h for i386 and x86_64 2012-05-31 17:14:35 -07:00
H.J. Lu
aac639f42c Use x86_64 bits/stat.h for i386 and x86-64 2012-05-31 16:49:38 -07:00
H.J. Lu
67b6df7841 Update x86_64 bits/stat.h 2012-05-31 16:47:45 -07:00
David S. Miller
1c2cfe8193 Update sparc ulps after Joseph's math.h fixes.
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
	entries.
2012-05-31 16:25:07 -07:00
Andreas Schwab
e77253266a Sort sysdeps/powerpc/fpu/libm-test-ulps 2012-06-01 01:26:27 +02:00
Andreas Schwab
5be8418cb0 Remove use of INTDEF/INTUSE in stdio-common 2012-06-01 01:25:41 +02:00
Markus Trippelsdorf
507352f1a1 Add bits/sysctl.h to sysdep_headers 2012-05-31 16:16:23 -07:00
H.J. Lu
6bd784b66b Use x86_64 bits/sysctl.h for x86-64 and i386 2012-05-31 16:12:40 -07:00
H.J. Lu
8bca20f013 Use x86_64 sys/{ucontext,user}.h for i386 and x86_64 2012-05-31 16:11:11 -07:00
H.J. Lu
f9e890a99c Use x86_64 sys/procfs.h for both i386 and x86_64 2012-05-31 16:09:40 -07:00
H.J. Lu
471101a18f Replace addr with __addr in x86_64 sys/io.h 2012-05-31 16:06:54 -07:00
H.J. Lu
6451c86222 Use x86_64 bits/mman.h for both i386 and x86_64 2012-05-31 16:05:51 -07:00
H.J. Lu
a254b8c9cb Use x86-64 bits/{msq,sem,shm}.h for i386 and x86-64 2012-05-31 16:04:12 -07:00
H.J. Lu
b8dfdd92c7 Use x86_64 bits/ipctypes.h for both i386 and x86-64 2012-05-31 16:03:09 -07:00
H.J. Lu
578cd27008 Use x86_64 bits/epoll.h for both i386 and x86_64 2012-05-31 16:02:21 -07:00
H.J. Lu
de662f5f19 Use x86_64 bits/fcntl.h for both i386 and x86_64 2012-05-31 16:01:24 -07:00
H.J. Lu
25653439fc Use x86_64 bits/environments.h for i386 and x86_64 2012-05-31 16:00:18 -07:00
H.J. Lu
6bad24a091 Use x86_64 bits/a.out.h for both i386 and x86_64 2012-05-31 15:57:54 -07:00
H.J. Lu
42bbb1c314 Add x86-64 support to i386 sys/elf.h and sys/vm86.h 2012-05-31 15:55:37 -07:00
Joseph Myers
2d10d547c1 Use more decimal places for long double constants in math.h. 2012-05-31 21:25:48 +00:00
David S. Miller
f230c29b40 Avoid performance penalty in sparc optimized memcpy/memset.
fmovd clears the current exception field in the %fsr, fsrc2
does not and therefore runs more efficiently on some cpus.

	* sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
	values between float registers.
	* sysdeps/sparc/sparc64/memset.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2012-05-31 14:19:30 -07:00
Mike Frysinger
fed806c3af tests: move -D_FORTIFY_SOURCE to CPPFLAGS
The -D_FORTIFY_SOURCE flags are being added to the test-specific CFLAGS
values when they should be the test-specific CPPFLAGS values.  Otherwise
the values don't override the user-specified CPPFLAGS and might end up
breaking the tests.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-31 14:31:08 -04:00
Marek Polacek
3091725976 Remove use of INTUSE/INTDEF in misc. 2012-05-31 13:10:02 +02:00
David S. Miller
1c58d5dceb Simulate sparc fpu exceptions using real FP ops again in soft-fp.
* sysdeps/sparc/sparc32/soft-fp/q_util.c
	(___Q_simulate_exceptions): Use real FP ops rather than writing
	into the %fsr.
	* sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
	Likewise.
2012-05-30 23:09:25 -07:00
H.J. Lu
0bd5398534 Use x86_64/bits/xtitypes.h for i386/x86-64 2012-05-30 17:26:11 -07:00
H.J. Lu
3a257e668e Use x86_64 bits/wordsize.h for both i386/x86_64 2012-05-30 17:25:23 -07:00
H.J. Lu
62f62904cf Use i386 bits/huge_vall.h for i386/x86-64 2012-05-30 15:51:32 -07:00
H.J. Lu
404fe9d90e Use x86_64 bits/select.h for i386/x86_64 2012-05-30 15:49:31 -07:00
H.J. Lu
d48d04460a Use x86_64 bits/setjmp.h for i386/x86_64 2012-05-30 15:43:34 -07:00
H.J. Lu
7dc00e0d3c Use x86_64 bits/mathdef.h for i386/x86_64 2012-05-30 15:42:28 -07:00
Andreas Schwab
03277f8fe1 Remove use of INTDEF/INTUSE in socket 2012-05-31 00:34:41 +02:00
H.J. Lu
6bd976963f Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64 2012-05-30 15:21:55 -07:00
H.J. Lu
f726f0bb75 Use the same bits/endian.h for i386/x86_64 2012-05-30 14:50:32 -07:00