From e3ed9d607b94e3f8eb744f69553438033e14f4f0 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 28 Feb 2012 15:26:02 +0000 Subject: [PATCH] re PR target/49448 (arm-tab-linux-gnu-eabi enableds big endian when it should not) PR target/49448 * config.gcc (arm*-*-linux*): Use an unambiguous pattern for detecting big-endian triplets. From-SVN: r184626 --- gcc/ChangeLog | 6 ++++++ gcc/config.gcc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4852725c54..f725ed580e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-02-28 Richard Earnshaw + + PR target/49448 + * config.gcc (arm*-*-linux*): Use an unambiguous pattern for + detecting big-endian triplets. + 2012-02-28 Richard Earnshaw * arm.c (aapcs_vfp_is_call_or_return_candidate): Only use the machine 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 -- 2.30.2