From 167f545befb7e43f79912a41701f796cbbf571c2 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 2 Apr 2024 11:06:42 -0300 Subject: [PATCH] [PATCH v3 5/7] math: Provided copysignf128 for static libm on alpha, s390, and sparcv9 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c index 11b42d04b..80137847d 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_copysignl.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, __copysignl, copysignl); #endif -- 2.30.2