glibc/sysdeps
Joseph Myers ef9faf1385 Fix libm feholdexcept namespace (bug 17748).
Continuing the fixes for C90 libm functions calling C99 fe* functions,
this patch fixes the case of feholdexcept by making it a weak alias of
__feholdexcept and making the affected code call __feholdexcept.

Tested for x86_64 (testsuite, and that disassembly of installed shared
libraries is unchanged by the patch).  Also tested for ARM
(soft-float) that feholdexcept failures disappear from the
linknamespace test failures (fesetenv, fsetround and feupdateenv
remain to be addressed to complete fixing bug 17748).

	[BZ #17748]
	* include/fenv.h (__feholdexcept): Declare.  Use
	libm_hidden_proto.
	* math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
	define as weak alias of __feholdexcept.  Use libm_hidden_weak.
	* sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
	(feholdexcept): Likewise.
	* sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
	* sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
	__feholdexcept instead of feholdexcept.
	(default_libc_feholdexcept_setround): Likewise.
2015-01-05 23:06:14 +00:00
..
aarch64 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
alpha Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
arm Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
generic Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
gnu Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
hppa Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
i386 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
ia64 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
ieee754 lround: provide cast for wordsize-64 version if needed 2015-01-05 11:59:32 -05:00
init_array Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
m68k Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
mach Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
microblaze Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mips Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
nptl Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
posix Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
powerpc Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
pthread Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s390 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
sh Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
sparc Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
tile lround: provide cast for wordsize-64 version if needed 2015-01-05 11:59:32 -05:00
unix Fix MIPS n64 posix_fadvise namespace (bug 17796). 2015-01-05 18:02:31 +00:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86_64 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00