summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-08-07 03:35:51 +0000
committerthorpej <thorpej@NetBSD.org>2002-08-07 03:35:51 +0000
commite83b2dfbd8dcbed373bc080621e72260b2a49b88 (patch)
tree175eeb2c88476bd3dcc5f0c1f4f3e804d282a053 /gnu
parent7a6acd854a591886eb8940e49bb3f76ed192a486 (diff)
Define __ARMEL__ if little-endian, as gcc 3.x does.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h b/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h
index d72c96c1360..197784ab656 100644
--- a/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h
+++ b/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h
@@ -32,6 +32,10 @@ Boston, MA 02111-1307, USA. */
#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 \