about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/m68k/m680x0/fpu/s_scalbn.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9409918ca9..62d76058dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-06-25  Andreas Schwab  <schwab@suse.de>
+
+	[BZ #17086]
+	* sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
+	scalbln, scalblnf, scalblnl in libc.
+
 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	[BZ #17086]
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