]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Thu, 23 Sep 2021 17:04:21 +0000 (14:04 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Thu, 23 Sep 2021 22:29:54 +0000 (19:29 -0300)
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")
sysdeps/ieee754/float128/s_fmaf128.c

index a900af6e3c76538d4ba053c11918bf55b0f4873f..af28f5e724b0822046301b993332e0e12860a7b3 100644 (file)
@@ -1,3 +1,5 @@
 #define NO_MATH_REDIRECT
+#define f64xfmaf128 __hide_f64xfmaf128
 #include <float128_private.h>
+#undef f64xfmaf128
 #include "../ldbl-128/s_fmal.c"