arm: Update preconfigure fragment for gcc 4.8

New defines from gcc 4.8:
 #define __ARM_ARCH_ISA_ARM 1
 #define __ARM_ARCH_PROFILE 65
 #define __ARM_ARCH_ISA_THUMB 2
 #define __ARM_ARCH 7

all of which got in the way of the one we wanted:
 #define __ARM_ARCH_7A__ 1
This commit is contained in:
Richard Henderson 2013-02-15 12:54:26 -08:00
parent 8d19fe64ee
commit 60812ba09d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-02-28 Richard Henderson <rth@redhat.com>
* sysdeps/arm/preconfigure: Adjust scan for __ARM_ARCH_* defines.
2013-02-27 Roland McGrath <roland@hack.frob.com>
* sysdeps/arm/sysdep.h (CFI_SECTIONS): New macro.

View File

@ -10,7 +10,7 @@ arm*)
# an appropriate directory exists in sysdeps/arm
archcppflag=`echo "" |
$CC $CFLAGS $CPPFLAGS -E -dM - |
grep __ARM_ARCH |
grep '__ARM_ARCH_[0-9].*__' |
sed -e 's/^#define //' -e 's/ .*//'`
case x$archcppflag in