aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-02-15 12:54:48 -0800
committerRichard Henderson <rth@twiddle.net>2013-02-28 00:07:37 -0800
commit8a0018d62f3f25d3c36eb45a92a1c64023695b6c (patch)
tree27247a0b0b47509a41d26057de116e6b3a73f751
parent60812ba09d346d2d355bd8272c5e75ca55bc8f03 (diff)
downloadglibc-8a0018d62f3f25d3c36eb45a92a1c64023695b6c.tar
glibc-8a0018d62f3f25d3c36eb45a92a1c64023695b6c.tar.gz
glibc-8a0018d62f3f25d3c36eb45a92a1c64023695b6c.tar.bz2
glibc-8a0018d62f3f25d3c36eb45a92a1c64023695b6c.zip
arm: Handle armv6 in preconfigure
-rw-r--r--ports/ChangeLog.arm2
-rw-r--r--ports/sysdeps/arm/preconfigure5
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index e7bc402591..611265f6ad 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -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.
diff --git a/ports/sysdeps/arm/preconfigure b/ports/sysdeps/arm/preconfigure
index e3762afc25..6d61b14281 100644
--- a/ports/sysdeps/arm/preconfigure
+++ b/ports/sysdeps/arm/preconfigure
@@ -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"