diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79f15be7669..e39c57fcf2d 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 fce3796384c..9255d118c50 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.