From 94ba134cf6431dad0aaece271a16761bc793d490 Mon Sep 17 00:00:00 2001 From: joseph Date: Tue, 2 Jul 2013 00:11:45 +0000 Subject: Merge changes between r23363 and r23421 from /fsf/trunk. git-svn-id: svn://svn.eglibc.org/trunk@23422 7b3dc134-2b1b-0410-93df-9e9f96275f8d --- libc/ports/sysdeps/alpha/soft-fp/e_sqrtl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libc/ports/sysdeps/alpha/soft-fp/e_sqrtl.c') diff --git a/libc/ports/sysdeps/alpha/soft-fp/e_sqrtl.c b/libc/ports/sysdeps/alpha/soft-fp/e_sqrtl.c index 40e97b887..2cb076e4c 100644 --- a/libc/ports/sysdeps/alpha/soft-fp/e_sqrtl.c +++ b/libc/ports/sysdeps/alpha/soft-fp/e_sqrtl.c @@ -21,6 +21,7 @@ #include #include #include +#include long double __ieee754_sqrtl (const long double a) @@ -37,3 +38,12 @@ __ieee754_sqrtl (const long double a) FP_HANDLE_EXCEPTIONS; return c; } + +/* ??? We forgot to add this symbol in 2.15. Getting this into 2.18 isn't as + straight-forward as just adding the alias, since a generic Versions file + includes the 2.15 version and the linker uses the first one it sees. */ +#if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18) +versioned_symbol (libm, __ieee754_sqrtl, __sqrtl_finite, GLIBC_2_18); +#else +strong_alias(__ieee754_sqrtl, __sqrtl_finite) +#endif -- cgit v1.2.3