From: Tulio Magno Quites Machado Filho Date: Thu, 23 Sep 2021 17:04:21 +0000 (-0300) Subject: powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used X-Git-Tag: glibc-2.35~494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54ff4f1e39067bfd04fb2141710637a11ef88862;p=thirdparty%2Fglibc.git powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used Avoid defining f64xfmaf128 twice when building s_fmaf128.c. This can be reproduced on powerpc64le whenever f128 functions do not have IFUNC enabled, e.g. using "--with-cpu=power8 --disable-multi-arch", or when using "-with-cpu=power9". Fixes: b3f27d8150d4f ("Add narrowing fma functions") --- diff --git a/sysdeps/ieee754/float128/s_fmaf128.c b/sysdeps/ieee754/float128/s_fmaf128.c index a900af6e3c7..af28f5e724b 100644 --- a/sysdeps/ieee754/float128/s_fmaf128.c +++ b/sysdeps/ieee754/float128/s_fmaf128.c @@ -1,3 +1,5 @@ #define NO_MATH_REDIRECT +#define f64xfmaf128 __hide_f64xfmaf128 #include +#undef f64xfmaf128 #include "../ldbl-128/s_fmal.c"