mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 23:30:07 +00:00
ef9faf1385
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. |
||
---|---|---|
.. | ||
bits | ||
fpu | ||
nptl | ||
_mcount.S | ||
abort-instr.h | ||
backtrace.c | ||
bcopy.S | ||
bzero.S | ||
configure | ||
configure.ac | ||
crti.S | ||
crtn.S | ||
dl-dtprocnum.h | ||
dl-fptr.h | ||
dl-lookupcfg.h | ||
dl-machine.h | ||
dl-sysdep.h | ||
dl-tls.h | ||
dl-trampoline.S | ||
entry.h | ||
gccframe.h | ||
hp-timing.h | ||
htonl.S | ||
htons.S | ||
ia64libgcc.S | ||
ieee754.h | ||
Implies | ||
jmpbuf-unwind.h | ||
ldbl2mpn.c | ||
ldsodefs.h | ||
libc-tls.c | ||
machine-gmon.h | ||
Makeconfig | ||
Makefile | ||
memccpy.S | ||
memchr.S | ||
memcmp.S | ||
memcpy.S | ||
memmove.S | ||
memset.S | ||
memusage.h | ||
sched_cpucount.c | ||
softpipe.h | ||
sotruss-lib.c | ||
stackguard-macros.h | ||
stackinfo.h | ||
start.S | ||
strcat.c | ||
strchr.S | ||
strcmp.S | ||
strcpy.S | ||
strlen.S | ||
strncmp.S | ||
strncpy.S | ||
sysdep.h | ||
tininess.h | ||
tls-macros.h | ||
tst-audit.h | ||
Versions |