Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/external/gpl3/gcc/dist/gcc/config/arm Pull up following r...



details:   https://anonhg.NetBSD.org/src/rev/1f949df60aa3
branches:  netbsd-7
changeset: 799380:1f949df60aa3
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed May 27 05:36:34 2015 +0000

description:
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

diffstat:

 external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 6d18473b371a -r 1f949df60aa3 external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h        Wed May 27 05:33:29 2015 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h        Wed May 27 05:36:34 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index