[PATCH v3 6/7] math: Provide frexpf128 for static libm on alpha, s390, and sparcv9
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 2 Apr 2024 14:06:43 +0000 (11:06 -0300)
committerAurelien Jarno <aurel32@debian.org>
Sat, 1 Jun 2024 21:16:35 +0000 (23:16 +0200)
Message-Id: <20240402140644.2172819-7-adhemerval.zanella@linaro.org>

hecked with a build for the affected ABIs.

Gbp-Pq: Topic any
Gbp-Pq: Name submitted-static-frexpf128.diff

sysdeps/ieee754/ldbl-64-128/s_frexpl.c

index 73ac41e40c214394606217507098c6fb61d879ce..f5f7d349f78ab64e0c445197d90991ff68473949 100644 (file)
@@ -1,10 +1,10 @@
 #include <math_ldbl_opt.h>
 #include <libm-alias-ldouble.h>
-#if IS_IN (libc)
+#if IS_IN (libc) && defined SHARED
 # undef libm_alias_ldouble
 # define libm_alias_ldouble(from, to)
 #endif
 #include <sysdeps/ieee754/ldbl-128/s_frexpl.c>
-#if IS_IN (libc)
+#if IS_IN (libc) && defined SHARED
 long_double_symbol (libc, __frexpl, frexpl);
 #endif