summaryrefslogtreecommitdiff
path: root/sysdeps/m68k/m680x0
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-06-24 09:41:02 +0200
committerAndreas Schwab <schwab@suse.de>2014-06-25 09:38:09 +0200
commitc5241f9575dd89ce6714963ecb3a114ece13f1a7 (patch)
tree16ccb7810f8bf288c6ed85816cf6cb9b191caf52 /sysdeps/m68k/m680x0
parent911422da02cfb683f9d97c46e7a4049449ec1a23 (diff)
downloadglibc-c5241f9575dd89ce6714963ecb3a114ece13f1a7.tar.gz
m68k: Add compat symbols for scalbln*
Diffstat (limited to 'sysdeps/m68k/m680x0')
-rw-r--r--sysdeps/m68k/m680x0/fpu/s_scalbn.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/m68k/m680x0/fpu/s_scalbn.c b/sysdeps/m68k/m680x0/fpu/s_scalbn.c
index f520f7de35..a14a712b1d 100644
--- a/sysdeps/m68k/m680x0/fpu/s_scalbn.c
+++ b/sysdeps/m68k/m680x0/fpu/s_scalbn.c
@@ -47,3 +47,9 @@ __CONCATX(__scalbn,suffix) (x, exp)
}
weak_alias (__CONCATX(__scalbn,suffix), __CONCATX(scalbn,suffix))
strong_alias (__CONCATX(__scalbn,suffix), __CONCATX(__scalbln,suffix))
+
+#include <shlib-compat.h>
+#if SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_20)
+compat_symbol (libc, __CONCATX(__scalbn,suffix), __CONCATX(scalbln,suffix),
+ GLIBC_2_1);
+#endif