Module Name: src
Committed By: msaitoh
Date: Wed May 27 05:36:34 UTC 2015
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/arm [netbsd-7]: netbsd-elf.h
Log Message:
Pull up following revision(s) (requested by skrll in ticket #807):
external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h: revision 1.8
Fix up TARGET_ENDIAN_DEFAULT for BE oabi
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.4.1 \
src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h:1.7 src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h:1.7.4.1
--- src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h:1.7 Sat Mar 1 09:04:12 2014
+++ src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h Wed May 27 05:36:34 2015
@@ -30,9 +30,12 @@
(ARM_DEFAULT_ABI != ARM_ABI_APCS && ARM_DEFAULT_ABI != ARM_ABI_ATPCS \
? TARGET_CPU_arm926ejs : TARGET_CPU_arm6)
-/* This defaults us to little-endian. */
-#ifndef TARGET_ENDIAN_DEFAULT
-#define TARGET_ENDIAN_DEFAULT 0
+/* TARGET_BIG_ENDIAN_DEFAULT is set in
+ config.gcc for big endian configurations. */
+#if TARGET_BIG_ENDIAN_DEFAULT
+#define TARGET_ENDIAN_DEFAULT MASK_BIG_END
+#else
+#define TARGET_ENDIAN_DEFAULT 0
#endif
#undef MULTILIB_DEFAULTS