Commit Graph

19259 Commits

Author SHA1 Message Date
Joseph Myers f37e0d6819 Remove unused sysdeps/unix/getegid.S and sysdeps/unix/geteuid.S. 2012-04-24 21:27:17 +00:00
Roland McGrath 87ef29ca94 Hurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate. 2012-04-24 13:13:16 -07:00
Andreas Jaeger f23f459dd3 Merge branch 'master' of git://sourceware.org/git/glibc 2012-04-24 22:10:04 +02:00
Andreas Jaeger e5a6e5674b Cleanup generated header files during make check
* Makerules (common-clean): Also remove gen-as-const-headers
	files.
2012-04-24 22:08:49 +02:00
Joseph Myers c1820385df Make $(native-compile) run in source directory like other compilation commands. 2012-04-24 20:05:34 +00:00
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 3a533ca370 Don't handle libgcc_s suffixes. 2012-04-24 10:22:45 +00:00
Paul Eggert e9a0a51253 * NEWS: Add bug 13970. 2012-04-23 12:55:16 -07:00
Andreas Jaeger eba6f5133a Add BZ number 2012-04-23 21:39:30 +02: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 4e681b5b7e Remove standalone manual support
[BZ #13739]
We don't need a separate manual distribution
tar ball anymore, remove support for it from manual/Makefile.
2012-04-23 20:44:49 +02:00
Paul Eggert c0baea34e0 * 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.
2012-04-23 10:43:28 -07:00
Andreas Jaeger 803cb6b7a9 Add BZ#13739 to entry. 2012-04-21 21:01:42 +02: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
Andreas Jaeger 75ce411f27 Update name and email address 2012-04-21 20:33:18 +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
Paul Pluzhnikov 0cec7c5407 Delete unused TLS_GET_FS, TLS_SET_FS macros. 2012-04-20 09:52:13 -07: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
Petr Baudis 0396e69dbe Resolve __vector namespace conflict with Altivec. 2012-04-17 08:39:57 -05:00
Marek Polacek 750b5926bc Prevent warning in pldd. 2012-04-16 20:34:28 +02:00
Marek Polacek 751728a1f1 Reverse arguments of fdivp in i386 code. 2012-04-16 11:03:41 +02:00