re PR target/49448 (arm-tab-linux-gnu-eabi enableds big endian when it should not)
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 28 Feb 2012 15:26:02 +0000 (15:26 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 28 Feb 2012 15:26:02 +0000 (15:26 +0000)
PR target/49448
* config.gcc (arm*-*-linux*): Use an unambiguous pattern for
detecting big-endian triplets.

From-SVN: r184626

gcc/ChangeLog
gcc/config.gcc

index c485272..f725ed5 100644 (file)
@@ -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.
 
index bdd5eb3..7d00a6c 100644 (file)
@@ -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