Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Define ELF32_MACHDEP_ENDIANNESS accordi...
details: https://anonhg.NetBSD.org/src/rev/418939bd19e9
branches: trunk
changeset: 552647:418939bd19e9
user: scw <scw%NetBSD.org@localhost>
date: Mon Sep 29 09:08:20 2003 +0000
description:
Define ELF32_MACHDEP_ENDIANNESS according to target byte order.
diffstat:
sys/arch/arm/include/elf_machdep.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 611bcce13887 -r 418939bd19e9 sys/arch/arm/include/elf_machdep.h
--- a/sys/arch/arm/include/elf_machdep.h Mon Sep 29 07:58:01 2003 +0000
+++ b/sys/arch/arm/include/elf_machdep.h Mon Sep 29 09:08:20 2003 +0000
@@ -1,6 +1,10 @@
-/* $NetBSD: elf_machdep.h,v 1.3 2001/12/09 23:05:57 thorpej Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.4 2003/09/29 09:08:20 scw Exp $ */
+#if defined(__ARMEB__)
+#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
+#else
#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
+#endif
/* Processor specific flags for the ELF header e_flags field. */
#define EF_ARM_RELEXEC 0x00000001
Home |
Main Index |
Thread Index |
Old Index