summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-11-20 02:28:22 -0500
committerMike Frysinger <vapier@gentoo.org>2014-11-22 19:34:49 -0500
commit34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb (patch)
treea30fa6eada73fcfc28b219553236ca1db72cbee3
parent33cd1f74b8cf7022d2c89f14b2db8c15ea1c3c3a (diff)
downloadglibc-34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb.tar.gz
arm: drop EABI check
GCC marked OABI obsolete in 4.7 and dropped it in 4.8. So the number of people this is catching is shrinking every day. At this point, it's not terribly useful, so just drop it.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/arm/preconfigure22
-rw-r--r--sysdeps/arm/preconfigure.ac5
3 files changed, 5 insertions, 27 deletions
diff --git a/ChangeLog b/ChangeLog
index c75dab7ba4..0279091b49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-22 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/arm/preconfigure.ac: Delete EABI check.
+ * sysdeps/arm/preconfigure: Regenerate.
+
2014-11-21 Roland McGrath <roland@hack.frob.com>
* nptl/pthread_create.c (__pthread_create_2_1): Set
diff --git a/sysdeps/arm/preconfigure b/sysdeps/arm/preconfigure
index 59d776d5ca..33e9501c4f 100644
--- a/sysdeps/arm/preconfigure
+++ b/sysdeps/arm/preconfigure
@@ -3,28 +3,6 @@
case "$machine" in
arm*)
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-#if !__ARM_EABI__
-#error
-#endif
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- as_fn_error $? "Old ABI no longer supported" "$LINENO" 5
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
# If the compiler enables unwind tables by default, this causes
# problems with undefined symbols in -nostdlib link tests. To
# avoid this, add -fno-unwind-tables here and remove it in
diff --git a/sysdeps/arm/preconfigure.ac b/sysdeps/arm/preconfigure.ac
index d78817b83e..20de5bcfea 100644
--- a/sysdeps/arm/preconfigure.ac
+++ b/sysdeps/arm/preconfigure.ac
@@ -3,11 +3,6 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
case "$machine" in
arm*)
- AC_TRY_COMPILE([
-#if !__ARM_EABI__
-#error
-#endif], [], [], [AC_MSG_ERROR([Old ABI no longer supported])])
-
# If the compiler enables unwind tables by default, this causes
# problems with undefined symbols in -nostdlib link tests. To
# avoid this, add -fno-unwind-tables here and remove it in