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

Checked with a static build for the affected ABIs.

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

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

index 11b42d04ba61b44616f885af90742a61da1b3c19..80137847d32c7c08e31e1a5705143e3c7d9a1514 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_copysignl.c>
-#if IS_IN (libc)
+#if IS_IN (libc) && defined SHARED
 long_double_symbol (libc, __copysignl, copysignl);
 #endif