From 34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 20 Nov 2014 02:28:22 -0500 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ sysdeps/arm/preconfigure | 22 ---------------------- sysdeps/arm/preconfigure.ac | 5 ----- 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 + + * sysdeps/arm/preconfigure.ac: Delete EABI check. + * sysdeps/arm/preconfigure: Regenerate. + 2014-11-21 Roland McGrath * 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 -- 2.43.5