From 1b9b759b4852fd19157b6038c0ecb943b3d44f30 Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Sat, 2 Mar 2013 21:11:39 -0500 Subject: [PATCH] add exported names for ldexp --- amd64/s_scalbn.S | 3 ++- i387/s_scalbn.S | 3 ++- src/s_scalbn.c | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/amd64/s_scalbn.S b/amd64/s_scalbn.S index f2917ad..9673ec0 100644 --- a/amd64/s_scalbn.S +++ b/amd64/s_scalbn.S @@ -39,4 +39,5 @@ ENTRY(scalbn) ret END(scalbn) - +.globl CNAME(ldexp) +.set CNAME(ldexp),CNAME(scalbn) diff --git a/i387/s_scalbn.S b/i387/s_scalbn.S index d03f945..31042d7 100644 --- a/i387/s_scalbn.S +++ b/i387/s_scalbn.S @@ -15,4 +15,5 @@ ENTRY(scalbn) ret END(scalbn) - +.globl CNAME(ldexp) +.set CNAME(ldexp),CNAME(scalbn) diff --git a/src/s_scalbn.c b/src/s_scalbn.c index e4da525..234eabe 100644 --- a/src/s_scalbn.c +++ b/src/s_scalbn.c @@ -61,3 +61,5 @@ scalbn (double x, int n) __weak_reference(scalbn, ldexpl); __weak_reference(scalbn, scalbnl); #endif + +__strong_reference(scalbn, ldexp);