aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrearnsha <>2012-02-28 15:26:02 +0000
committerrearnsha <>2012-02-28 15:26:02 +0000
commita5cf01bb3a8c99c21df13257ae7436ad5e778637 (patch)
tree4951b39a775f241c3151d1f5ae6a1b693b1f4248 /gcc
parentfadc2e4f2ca89e8affb1b78f319d0144d831f544 (diff)
PR target/49448
* config.gcc (arm*-*-linux*): Use an unambiguous pattern for detecting big-endian triplets.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c4852725c54..f725ed580e1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2012-02-28 Richard Earnshaw <rearnsha@arm.com>
+ PR target/49448
+ * config.gcc (arm*-*-linux*): Use an unambiguous pattern for
+ detecting big-endian triplets.
+
+2012-02-28 Richard Earnshaw <rearnsha@arm.com>
+
* arm.c (aapcs_vfp_is_call_or_return_candidate): Only use the machine
mode if there is no type information available.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index bdd5eb31890..7d00a6c2a08 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -825,7 +825,7 @@ arm*-*-netbsdelf*)
arm*-*-linux*) # ARM GNU/Linux with ELF
tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h arm/elf.h arm/linux-gas.h arm/linux-elf.h"
case $target in
- arm*b-*)
+ arm*b-*-linux*)
tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
;;
esac