config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.
authorSeth LaForge <sethml@google.com>
Fri, 22 Feb 2013 15:57:17 +0000 (15:57 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 22 Feb 2013 15:57:17 +0000 (15:57 +0000)
2013-02-22  Seth LaForge  <sethml@google.com>

* config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.

From-SVN: r196221

gcc/ChangeLog
gcc/config.gcc

index 79f15be..e39c57f 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-22  Seth LaForge  <sethml@google.com>
+
+       * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.
+
 2013-02-22  Greta Yorsh  <Greta.Yorsh@arm.com>
 
         * config/arm/arm.md (split for extendsidi): Update condition.
index fce3796..9255d11 100644 (file)
@@ -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.