about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2021-03-31 14:17:24 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2021-04-01 10:55:42 +0200
commit5ccea9a011c010448999a71d2be1cd1906d7c9f5 (patch)
tree859a2395c98e3ddeff8e42b96f70fc516a2cbbd9 /sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h
parent01e045117520200a1285ed112576c1be002a34d6 (diff)
downloadglibc-5ccea9a011c010448999a71d2be1cd1906d7c9f5.tar.gz
glibc-5ccea9a011c010448999a71d2be1cd1906d7c9f5.tar.xz
glibc-5ccea9a011c010448999a71d2be1cd1906d7c9f5.zip
powerpc64le: Use ifunc for _Float128 functions also in libc
This fixes missing definition of math functions in libc in a static link
that are no longer built for libm after commit 4898d9712b ("Avoid adding
duplicated symbols into static libraries").
Diffstat (limited to 'sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h')
-rw-r--r--sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h
index 08530df9a1..c613d4abae 100644
--- a/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h
+++ b/sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128_private.h
@@ -19,7 +19,7 @@
 #ifndef _FLOAT128_PRIVATE_PPC64LE
 #define _FLOAT128_PRIVATE_PPC64LE 1
 
-#if IS_IN(libc) || !defined(_F128_ENABLE_IFUNC)
+#ifndef _F128_ENABLE_IFUNC
 /* multiarch is not supported.  Do nothing and pass through.  */
 #include_next <float128_private.h>
 #else
@@ -94,6 +94,6 @@ F128_REDIR (__lgamma_productf128)
 #include <float128-ifunc-redirects-mp.h>
 #include <float128-ifunc-redirects.h>
 
-#endif /* !(IS_IN(libc) && defined(_F128_ENABLE_IFUNC) */
+#endif /* _F128_ENABLE_IFUNC */
 
 #endif /* _FLOAT128_PRIVATE_PPC64LE */