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

Checked with a build for the affected ABIs

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

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

index 7d7aeae111fc6e7a083bb4ddc1a5f5c4818e790e..ba3d31334a0fefa0290576345c6d11f3cc034cea 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_modfl.c>
-#if IS_IN (libc)
+#if IS_IN (libc) && defined SHARED
 long_double_symbol (libc, __modfl, modfl);
 #endif