public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used
@ 2021-09-23 22:34 Tulio Magno Quites Machado Filho
0 siblings, 0 replies; only message in thread
From: Tulio Magno Quites Machado Filho @ 2021-09-23 22:34 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=54ff4f1e39067bfd04fb2141710637a11ef88862
commit 54ff4f1e39067bfd04fb2141710637a11ef88862
Author: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Date: Thu Sep 23 14:04:21 2021 -0300
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:
---
sysdeps/ieee754/float128/s_fmaf128.c | 2 ++
1 file changed, 2 insertions(+)
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-23 22:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 22:34 [glibc] powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used Tulio Magno Quites Machado Filho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).