This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH 1/2] alpha: Fix compat version number for nearbyintl
- From: Richard Henderson <rth at twiddle dot net>
- To: libc-ports at sourceware dot org
- Date: Mon, 13 Aug 2012 18:20:18 -0700
- Subject: [PATCH 1/2] alpha: Fix compat version number for nearbyintl
---
ports/ChangeLog.alpha | 7 ++++++-
ports/sysdeps/alpha/fpu/s_nearbyint.c | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha
index 97c4db6..e65097a 100644
--- a/ports/ChangeLog.alpha
+++ b/ports/ChangeLog.alpha
@@ -1,9 +1,14 @@
+2012-08-13 Richard Henderson <rth@twiddle.net>
+
+ * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Do compat
+ with GLIBC_2_1.
+
2012-08-08 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/alpha/kernel-features.h
(__ASSUME_TGKILL): Remove.
-2012-08-08 Richard Henderson <rth@redhat.com>
+2012-08-08 Richard Henderson <rth@twiddle.net>
* sysdeps/unix/sysv/linux/alpha/kernel-features.h
(__ASSUME_IEEE_RAISE_EXCEPTION): Remove.
diff --git a/ports/sysdeps/alpha/fpu/s_nearbyint.c b/ports/sysdeps/alpha/fpu/s_nearbyint.c
index 4589bfc..19ed06b 100644
--- a/ports/sysdeps/alpha/fpu/s_nearbyint.c
+++ b/ports/sysdeps/alpha/fpu/s_nearbyint.c
@@ -43,6 +43,6 @@ weak_alias (__nearbyint, nearbyint)
strong_alias (__nearbyint, __nearbyintl)
weak_alias (__nearbyint, nearbyintl)
#endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
+compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1);
#endif
--
1.7.7.6