Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/include instead of bitching about the missing e...



details:   https://anonhg.NetBSD.org/src/rev/422b5f6ae524
branches:  trunk
changeset: 803360:422b5f6ae524
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 23 19:39:42 2014 +0000

description:
instead of bitching about the missing endianness, get it.

diffstat:

 sys/arch/sh3/include/elf_machdep.h |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r 4e704b9f1d36 -r 422b5f6ae524 sys/arch/sh3/include/elf_machdep.h
--- a/sys/arch/sh3/include/elf_machdep.h        Thu Oct 23 19:03:38 2014 +0000
+++ b/sys/arch/sh3/include/elf_machdep.h        Thu Oct 23 19:39:42 2014 +0000
@@ -1,8 +1,6 @@
-/*     $NetBSD: elf_machdep.h,v 1.10 2009/05/30 05:56:53 skrll Exp $   */
+/*     $NetBSD: elf_machdep.h,v 1.11 2014/10/23 19:39:42 christos Exp $        */
 
-#if !defined(_BYTE_ORDER) && !defined(HAVE_NBTOOL_CONFIG_H)
-#error Define _BYTE_ORDER!
-#endif
+#include <machine/endian_machdep.h>
 
 #if _BYTE_ORDER == _LITTLE_ENDIAN
 #define        ELF32_MACHDEP_ENDIANNESS        ELFDATA2LSB



Home | Main Index | Thread Index | Old Index