arm: Handle armv6 in preconfigure
authorRichard Henderson <rth@twiddle.net>
Fri, 15 Feb 2013 20:54:48 +0000 (12:54 -0800)
committerRichard Henderson <rth@twiddle.net>
Thu, 28 Feb 2013 08:07:37 +0000 (00:07 -0800)
ports/ChangeLog.arm
ports/sysdeps/arm/preconfigure

index e7bc402..611265f 100644 (file)
@@ -2,6 +2,8 @@
 
        * sysdeps/arm/preconfigure: Adjust scan for __ARM_ARCH_* defines.
 
+       * sysdeps/arm/preconfigure: Handle __ARM_ARCH_6*__.
+
 2013-02-27  Roland McGrath  <roland@hack.frob.com>
 
        * sysdeps/arm/sysdep.h (CFI_SECTIONS): New macro.
index e3762af..6d61b14 100644 (file)
@@ -28,7 +28,10 @@ arm*)
                  machine=armv6t2
                  echo "Found compiler is configured for $machine"
                  ;;
-
+               x__ARM_ARCH_6*__)
+                 machine=armv6
+                 echo "Found compiler is configured for $machine"
+                 ;;
                *)
                  machine=arm
                  echo 2>&1 "arm/preconfigure: Did not find ARM architecture type; using default"