glibc/sysdeps
Joseph Myers f56f91245a Split __kernel_standard* functions (fixes bug 17724).
Bug 17724 reports references to fesetround being brought in by
ldbl-128ibm rintl via references to __rintl from __kernel_standard_l.
Because all three __kernel_standard* functions are in the same file,
this gets brought in even though only the long double version
__kernel_standard_l needs __rintl, and the C90 functions use only
__kernel_standard.

This patch fixes this by splitting the three versions into separate
files; it's fine for long double functions to refer to fe* functions
directly, unless they get called by C90 double functions.

Tested for x86_64 (testsuite; the reordering of code means disassembly
of shared libraries can't usefully be compared).  Tested for powerpc
that the relevant issue disappears from the linknamespace test
output.

	[BZ #17724]
	* sysdeps/ieee754/k_standard.c: Don't include <float.h>.
	(__kernel_standard_f): Remove.  Moved to k_standardf.c.
	(__kernel_standard_l): Remove.  Moved to k_standardl.c with
	(char *) casts added.
	* sysdeps/ieee754/k_standardf.c: New file.
	* sysdeps/ieee754/k_standardl.c: Likewise.
	* math/Makefile (libm-support): Remove k_standard.
	(libm-calls): Add k_standard.
2014-12-22 18:45:50 +00:00
..
aarch64 Call libc_fetestexcept_aarch64. 2014-12-22 17:14:54 +00:00
alpha Remove IS_IN_rtld 2014-11-24 11:41:48 +05:30
arm Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
generic Add hidden __tls_get_addr/___tls_get_addr alias 2014-12-21 09:27:11 -08:00
gnu Use PTR_MANGLE on libgcc unwinder function pointers. 2014-12-16 15:47:53 -08:00
hppa Don't use INTDEF/INTUSE with _dl_init (bug 14132). 2014-11-04 23:26:39 +00:00
i386 Add hidden __tls_get_addr/___tls_get_addr alias 2014-12-21 09:27:11 -08:00
ia64 Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
ieee754 Split __kernel_standard* functions (fixes bug 17724). 2014-12-22 18:45:50 +00:00
init_array Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
m68k m68k: remove @PLTPC from _dl_init call 2014-12-21 15:21:14 +01:00
mach Fix resolver if_* namespace (bug 17717). 2014-12-16 18:18:49 +00:00
microblaze microblaze: 64b atomic operations are not supported. 2014-11-21 14:09:21 +01:00
mips Remove trailing white space. 2014-12-19 14:40:29 -08:00
nptl NPTL: Move fork state variables to initializer files. 2014-12-17 14:33:28 -08:00
posix Fix profil_counter namespace (bug 17725). 2014-12-17 18:10:37 +00:00
powerpc Fix strftime wcschr namespace (bug 17634). 2014-12-10 16:59:02 +00:00
pthread Move semaphore.h to sysdeps/pthread/. 2014-12-11 22:58:48 +00:00
s390 S/390: Get rid of assembler warning value truncated. 2014-12-11 17:02:24 +01:00
sh * Fix SH specific compiler warnings which are for integer-pointer 2014-12-12 08:07:35 +09:00
sparc Fix soft-fp build warning on sparc about strict aliasing. 2014-12-19 13:45:31 -08:00
tile tile: separate ffsll from ffs 2014-12-21 17:12:54 -05:00
unix Fix resolver bind, getsockname namespace (bug 17733). 2014-12-22 12:46:27 +00:00
wordsize-32 Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
wordsize-64 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
x86 Recognize recent x86 CPUs in string.h 2014-11-27 17:21:12 +01:00
x86_64 Add hidden __tls_get_addr/___tls_get_addr alias 2014-12-21 09:27:11 -08:00