about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2021-09-23 14:04:21 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2021-09-23 19:29:54 -0300
commit54ff4f1e39067bfd04fb2141710637a11ef88862 (patch)
tree7ba6bf48e1ff8ce8a0b285fe785887c81c7844f8 /sysdeps
parent4ed7a383f9a8468194ccaebba3f0fa659003888d (diff)
downloadglibc-54ff4f1e39067bfd04fb2141710637a11ef88862.tar.gz
glibc-54ff4f1e39067bfd04fb2141710637a11ef88862.tar.xz
glibc-54ff4f1e39067bfd04fb2141710637a11ef88862.zip
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")
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/float128/s_fmaf128.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/ieee754/float128/s_fmaf128.c b/sysdeps/ieee754/float128/s_fmaf128.c
index a900af6e3c..af28f5e724 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 <float128_private.h>
+#undef f64xfmaf128
 #include "../ldbl-128/s_fmal.c"