Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/toolchain/gcc/config/arm Define __ARMEL__ if little...



details:   https://anonhg.NetBSD.org/src/rev/a2c07d7872ee
branches:  trunk
changeset: 534944:a2c07d7872ee
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Aug 07 03:35:51 2002 +0000

description:
Define __ARMEL__ if little-endian, as gcc 3.x does.

diffstat:

 gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 407169043a7d -r a2c07d7872ee gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h
--- a/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h    Wed Aug 07 03:27:39 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h    Wed Aug 07 03:35:51 2002 +0000
@@ -32,6 +32,10 @@
 #define TARGET_ENDIAN_DEFAULT 0
 #endif
 
+#ifndef CPP_ENDIAN_DEFAULT_SPEC
+#define CPP_ENDIAN_DEFAULT_SPEC "-D__ARMEL__"
+#endif
+
 #define TARGET_DEFAULT                         \
   (ARM_FLAG_APCS_32                            \
    | ARM_FLAG_APCS_FRAME                       \



Home | Main Index | Thread Index | Old Index