diff mbox

[v3] arm: drop EABI check

Message ID 1416566963-32368-1-git-send-email-vapier@gentoo.org
State Accepted, archived
Headers show

Commit Message

Mike Frysinger Nov. 21, 2014, 10:49 a.m. UTC
GCC marked OABI obsolete in 4.7 and dropped OABI 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.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 ChangeLog                   |  5 +++++
 sysdeps/arm/preconfigure    | 22 ----------------------
 sysdeps/arm/preconfigure.ac |  5 -----
 3 files changed, 5 insertions(+), 27 deletions(-)

Comments

Joseph Myers Nov. 21, 2014, 5:22 p.m. UTC | #1
On Fri, 21 Nov 2014, Mike Frysinger wrote:

> GCC marked OABI obsolete in 4.7 and dropped OABI 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.

OK.
diff mbox

Patch

diff --git a/ChangeLog b/ChangeLog
index 2fa59cf..632990e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@ 
+2014-11-20  Mike Frysinger  <vapier@gentoo.org>
+
+	* sysdeps/arm/preconfigure.ac: Delete EABI check.
+	* sysdeps/arm/preconfigure: Regenerate.
+
 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
 	    Florian Weimer  <fweimer@redhat.com>
 	    Joseph Myers  <joseph@codesourcery.com>
diff --git a/sysdeps/arm/preconfigure b/sysdeps/arm/preconfigure
index 59d776d..33e9501 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 d78817b..20de5bc 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