From aac9de14281f5ed910c8eb96fee73a4eb9635a84 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 2 Apr 2024 11:06:44 -0300 Subject: [PATCH] [PATCH v3 7/7] math: Provide modf128 for static libm on alpha, s390, and sparcv9 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/ieee754/ldbl-64-128/s_modfl.c b/sysdeps/ieee754/ldbl-64-128/s_modfl.c index 7d7aeae11..ba3d31334 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_modfl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_modfl.c @@ -1,10 +1,10 @@ #include #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED # undef libm_alias_ldouble # define libm_alias_ldouble(from, to) #endif #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED long_double_symbol (libc, __modfl, modfl); #endif -- 2.30.2