From: Richard Earnshaw Date: Tue, 28 Feb 2012 15:26:02 +0000 (+0000) Subject: re PR target/49448 (arm-tab-linux-gnu-eabi enableds big endian when it should not) X-Git-Tag: releases/gcc-4.7.0~172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3ed9d607b94e3f8eb744f69553438033e14f4f0;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4852725c549..f725ed580e1b 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 bdd5eb318904..7d00a6c2a089 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