From ac8d93a742c5252bce9d6f867dccb950fda6df26 Mon Sep 17 00:00:00 2001 From: Seth LaForge Date: Fri, 22 Feb 2013 15:57:17 +0000 Subject: [PATCH] config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. 2013-02-22 Seth LaForge * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. From-SVN: r196221 --- gcc/ChangeLog | 4 ++++ gcc/config.gcc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79f15be..e39c57f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-02-22 Seth LaForge + + * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. + 2013-02-22 Greta Yorsh * config/arm/arm.md (split for extendsidi): Update condition. diff --git a/gcc/config.gcc b/gcc/config.gcc index fce3796..9255d11 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -900,6 +900,10 @@ arm*-*-uclinux*eabi*) # ARM ucLinux default_use_cxa_atexit=yes ;; arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) + case ${target} in + arm*eb-*-eabi*) + tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1" + esac # The BPABI long long divmod functions return a 128-bit value in # registers r0-r3. Correctly modeling that requires the use of # TImode. -- 2.7.4