Skip to content

Commit

Permalink
arm: drop EABI check
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mike Frysinger committed Nov 23, 2014
1 parent 33cd1f7 commit 34d97d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 27 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
22 changes: 0 additions & 22 deletions sysdeps/arm/preconfigure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions sysdeps/arm/preconfigure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34d97d8

Please sign in to comment.