Commit Graph

7191 Commits

Author SHA1 Message Date
Adhemerval Zanella
94e02fc410 Correct powerpc64 s_floorl edge cases (bug 13886).
[BZ #13886]
Remove powerpc64/fpu/s_floorl.  Use fully correct ldbl-128bim/s_floorl.c.
2012-04-24 14:21:45 -05:00
Joseph Myers
940ab4b3b8 Remove unused sysdeps/unix/{,sysv/}getdents.c. 2012-04-24 18:48:59 +00:00
Joseph Myers
90e037bdc3 Merge sysdeps/unix/mman into sysdeps/unix. 2012-04-24 18:46:47 +00:00
Joseph Myers
4ad451e281 Move sysdeps/unix/sysv/gethostname.c to sysdeps/posix/. 2012-04-23 18:53:47 +00:00
Joseph Myers
5e37ce39a2 Remove unused sysdeps/unix/execve.S. 2012-04-23 18:52:33 +00:00
Joseph Myers
1ad743de3e Remove unused sysdeps/unix/_exit.S. 2012-04-23 18:51:37 +00:00
Andreas Jaeger
7c0616faf5 Remove last distribute variable
make dist support has been removed, remove the last remains of it.
2012-04-21 20:38:10 +02:00
Joseph Myers
b0fe253f8d Merge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions. 2012-04-21 13:18:11 +00:00
Markus Trippelsdorf
8280f22d30 Update sysdeps/x86_64/fpu/libm-test-ulps
[BZ #13927]
	* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012-04-21 14:14:27 +02:00
Nix
b8e3372811 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.
2012-04-21 07:12:50 +02:00
Joseph Myers
a90f3bcb47 Remove unused sysdeps/unix/common/lxstat.c. 2012-04-20 22:39:42 +00:00
Joseph Myers
edc7ea78c1 Remove sysdeps/unix/sysv/Makefile. 2012-04-20 22:34:45 +00:00
Joseph Myers
cb78c221d5 Remove unused sysdeps/unix/sysv/direct.h. 2012-04-20 21:13:53 +00:00
Joseph Myers
efa6a45f2a Remove unused sysdeps/unix/sysv/bits/*.h. 2012-04-20 20:48:58 +00:00
Joseph Myers
9c9f2d0c76 Remove unused sysdeps/unix/sysv/setrlimit.c. 2012-04-20 20:31:51 +00:00
Joseph Myers
4541c83bea Remove unused sysdeps/unix/xmknod.c. 2012-04-20 20:30:00 +00:00
Joseph Myers
f5d153a031 Remove unused sysdeps/unix/sysv/settimeofday.c. 2012-04-20 20:28:59 +00:00
Joseph Myers
aa746595d5 Remove unused sysdeps/unix/sysv/i386/time.S. 2012-04-20 20:27:29 +00:00
Joseph Myers
cce5905e8d Remove unused sysdeps/unix/{xstat,fxstat}.c. 2012-04-20 19:55:22 +00:00
Joseph Myers
37fa3841ea Remove unused sysdeps/unix/sysv/sigaction.c. 2012-04-20 17:01:47 +00:00
Joseph Myers
ff1962a397 Remove unused sysdeps/unix/sysv termio code. 2012-04-20 17:00:40 +00:00
Joseph Myers
e7740d31ee Remove unused sysdeps/unix/siglist.c. 2012-04-20 16:59:41 +00:00
Joseph Myers
ee06f18b68 Remove unused sysdeps/unix/getppid.S. 2012-04-20 16:58:45 +00:00
Joseph Myers
097d59fa61 Remove unused sysdeps/unix/{mkdir.c,rmdir.c}. 2012-04-20 16:57:46 +00:00
Andreas Schwab
ff3d51ec58 Fix computation of inflated errlist size 2012-04-19 19:05:19 +02:00
David S. Miller
50f81fd74b Remove all traces of reg_char.
* sysdeps/generic/memcopy.h (reg_char): Delete.
	* debug/strcat_chk.c: Use char, not reg_char.
	* debug/strcpy_chk.c: Likewise.
	* debug/strncat_chk.c: Likewise.
	* debug/strncpy_chk.c: Likewise.
	* string/memchr.c: Likewise.
	* string/memrchr.c: Likewise.
	* string/rawmemchr.c: Likewise.
	* string/strcat.c: Likewise.
	* string/strchr.c: Likewise.
	* string/strchrnul.c: Likewise.
	* string/strcmp.c: Likewise.
	* string/strcpy.c: Likewise.
	* string/strncat.c: Likewise.
	* string/strncmp.c: Likewise.
	* string/strncpy.c: Likewise.
2012-04-18 16:19:10 -07:00
Will Schmidt
8ff41c4601 Have memmove call __builtin_memcopy on PowerPC if src and dest don't overlap. 2012-04-18 16:44:27 -05:00
Will Schmidt
6b652f46c3 Further simplify power6 wordcopy by removing switch statements.
This fix replaces switch statements that contain individual
[fwd|bwd]_align_merge (<constant>) calls with a single [fwd|bwd]_align_merge
(align) call.
2012-04-18 15:34:23 -05:00
Will Schmidt
b282631e36 Simplify power6 wordcopy by adding [fwd|bwd]_align_merge macros. 2012-04-18 14:52:25 -05:00
David S. Miller
95aa737cf9 Forgot to delete the sparc64 memcopy.h which tries to include the sparc32 one
* sysdeps/sparc/sparc64/memcopy.h: Delete.
2012-04-18 11:13:14 -07:00
Andreas Jaeger
7a99a61461 Finish ilogb changes
[BZ# 6794]
	* sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
	* sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
	Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.

	* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
	* sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
	Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.

	* sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
	* sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.

	* sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
	* sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
	Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2012-04-18 14:31:43 +02:00
David S. Miller
e5270c239d There is no legitimate reason to override reg_char on sparc32.
* sysdeps/sparc/sparc32/memcopy.h: Delete.
2012-04-17 21:30:15 -07:00
Andreas Schwab
fb5e92c979 Remove useless __ilogb*_finite aliases 2012-04-18 00:40:13 +02:00
Adhemerval Zanella
76da726532 Fix ilogb exception and errno (bug 6794)
[BZ #6794]
Following Joseph comments about bug 6794, here is a proposed fix. It turned out
to be a large fix mainly because I had to move some file along to follow libm
files/names conventions.

Basically I have added wrappers (w_ilogb.c, w_ilogbf.c, w_ilogbl.c) that now calls
the symbol '__ieee754_ilogb'. The wrappers checks for '__ieee754_ilogb' output and
set the errno and raise exceptions as expected.

The '__ieee754_ilogb' is implemented in sysdeps. I have moved the 's_ilogb[f|l]' files
to e_ilogb[f|l] and renamed the '__ilogb[f|l]' to '__ieee754_ilogb[f|l]'.

I also found out a bug in i386 and x86-64 assembly coded ilogb implementation where
it raises a FE_DIVBYZERO when argument is '0.0'. I corrected this issue as well.

Finally I added the errno and FE_INVALID tests for 0.0, NaN and +-InF argument. Tested
on i386, x86-64, ppc32 and ppc64.
2012-04-17 22:12:53 +02:00
Marek Polacek
751728a1f1 Reverse arguments of fdivp in i386 code. 2012-04-16 11:03:41 +02:00
H.J. Lu
34a27407f4 Check __ILP32__ instead of __LP64__
* elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
	* elf/tst-auditmod3b.c: Likewise.
	* elf/tst-auditmod4b.c: Likewise.
	* elf/tst-auditmod5b.c: Likewise.
	* elf/tst-auditmod6b.c: Likewise.
	* elf/tst-auditmod6c.c: Likewise.
	* elf/tst-auditmod7b.c: Likewise.
	* sysdeps/x86_64/ffsll.c (ffsl): Likewise.
	* sysdeps/x86_64/preconfigure.in: Likewise.
	* sysdeps/x86_64/preconfigure: Regenerated.
2012-04-13 16:24:17 -07:00
H.J. Lu
7e73e17d3f Add __ILP32__ check when defining __WORDSIZE 2012-04-13 16:17:14 -07:00
Antoine Balestrat
c7a6ab72e9 Fix variable check in sparc clock frequency probing.
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
	(__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2012-04-13 14:31:35 -07:00
David S. Miller
55939d6d45 Update sparc libm ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-04-11 12:25:00 -07:00
H.J. Lu
4be2b57003 Add __snseconds_t and __SNSECONDS_T_TYPE 2012-04-11 11:02:59 -07:00
H.J. Lu
b46068fcf2 Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h> 2012-04-10 13:02:41 -07:00
Siddhesh Poyarekar
73d65cc378 New ld.so argument --inhibit-ldcache to disable ld.so.cache lookup
It may sometimes be desirable to make the dynamic linker only pick up
libraries from the library path and rpath and not look at the
ld.so.cache that ldconfig generates. An example of such a use case is
the glibc testsuite where the dynamic linker must not be influenced by
any external paths or caches.

This change adds a new option --inhibit-ldcache that when used, tells
the dynamic linker to not use ld.so.cache even if it is available.
2012-04-11 00:13:52 +05:30
Joseph Myers
8f9a2faee0 Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872). 2012-04-09 22:32:45 +00:00
Joseph Myers
bcc8d6617b Fix ctan, ctanh overflow (bug 11521). 2012-04-09 22:31:35 +00:00
Roland McGrath
8de131cbff Fix missing clobber in i386 __sincos_code asm. 2012-04-09 12:20:48 -07:00
Joseph Myers
d7dd945398 Fix missing overflow exceptions from pow (bug 13873). 2012-04-09 09:43:18 +00:00
Joseph Myers
c483f6b4a4 Fix x86 pow inaccuracy for large integer exponents (bug 706). 2012-04-09 09:42:05 +00:00
Aurelien Jarno
f77f123206 Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705). 2012-04-08 22:45:13 +00:00
Mike Frysinger
3884932b78 memset: also update copyright years
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-08 14:20:37 -04:00
Mike Frysinger
1e4920e080 memset: fix define usage for shared libs
The proper define to check "am I in a shared lib" is "SHARED", not "PIC".
The two new memset_chk functions incorrectly depend on "PIC".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-07 16:33:50 -04:00