===================================================================
@@ -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.
===================================================================
@@ -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.