glibc/sysdeps/ieee754
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
..
bits Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dbl-64 Fix libm mpone, mptwo namespace (bug 17616). 2014-11-18 15:40:56 +00:00
flt-32 Fix yn overflow handling in non-default rounding modes (bug 16561, bug 16562). 2014-06-27 14:52:13 +00:00
ldbl-64-128 Remove IS_IN_libm 2014-11-24 11:41:47 +05:30
ldbl-96 Fix missing <math_private.h> in ldbl-96 fma 2014-08-04 10:20:20 +02:00
ldbl-128 powerpc: Fix lgammal_r overflow warnings 2014-12-11 07:17:11 -05:00
ldbl-128ibm FIx ldbl-128ibm frexpl for 32-bit systems (bug 16619, bug 16740). 2014-11-26 13:54:55 +00:00
ldbl-opt Remove IS_IN_libm 2014-11-24 11:41:47 +05:30
ieee754.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
k_standard.c Split __kernel_standard* functions (fixes bug 17724). 2014-12-22 18:45:50 +00:00
k_standardf.c Split __kernel_standard* functions (fixes bug 17724). 2014-12-22 18:45:50 +00:00
k_standardl.c Split __kernel_standard* functions (fixes bug 17724). 2014-12-22 18:45:50 +00:00
Makefile
s_lib_version.c Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
s_matherr.c Use <> for math.h and math_private.h everywhere. 2012-03-09 16:09:10 -08:00
s_signgam.c Use <> for math.h and math_private.h everywhere. 2012-03-09 16:09:10 -08:00
support.c Fix leading whitespaces. 2013-06-06 20:36:07 +02:00