mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 00:31:08 +00:00
16000c8d04
Building for x86_64 with float128 support, I get a localplt test failure from lrintf128 calling feraiseexcept. The problem is that an inline optimized version of feraiseexcept calls __feraiseexcept_renamed in cases where it doesn't completely expand inline, and that in turn is redirected to feraiseexcept for a library call, so meaning the redirection of feraiseexcept to __GI_feraiseexcept inside libm is lost for that call. This patch fixes the problem by moving the redirect to an internal header in the _LIBC case, with the internal header using __GI_feraiseexcept where appropriate. Tested for x86_64 (in conjunction with float128 patches). * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed): Do not declare. * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC && __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here, redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)]. |
||
---|---|---|
.. | ||
bits | ||
fpu | ||
nptl/bits | ||
cacheinfo.c | ||
cpu-features-offsets.sym | ||
cpu-features.c | ||
cpu-features.h | ||
cpu-tunables.c | ||
dl-get-cpu-features.c | ||
dl-hwcap.h | ||
dl-procinfo.c | ||
dl-procinfo.h | ||
dl-tunables.list | ||
elide.h | ||
fpu_control.h | ||
init-arch.h | ||
libc-start.c | ||
linkmap.h | ||
Makefile | ||
string_private.h | ||
tininess.h | ||
tst-get-cpu-features-static.c | ||
tst-get-cpu-features.c | ||
Versions |