Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/include Define EF_CPU32 and EF_M68000.



details:   https://anonhg.NetBSD.org/src/rev/452acf18cd1b
branches:  trunk
changeset: 521339:452acf18cd1b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jan 28 21:34:48 2002 +0000

description:
Define EF_CPU32 and EF_M68000.

diffstat:

 sys/arch/m68k/include/elf_machdep.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c14f34db84f4 -r 452acf18cd1b sys/arch/m68k/include/elf_machdep.h
--- a/sys/arch/m68k/include/elf_machdep.h       Mon Jan 28 21:29:46 2002 +0000
+++ b/sys/arch/m68k/include/elf_machdep.h       Mon Jan 28 21:34:48 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_machdep.h,v 1.6 2001/12/09 23:05:57 thorpej Exp $  */
+/*     $NetBSD: elf_machdep.h,v 1.7 2002/01/28 21:34:48 thorpej Exp $  */
 
 #define        ELF32_MACHDEP_ENDIANNESS        ELFDATA2MSB
 #define        ELF32_MACHDEP_ID_CASES                                          \
@@ -11,6 +11,12 @@
 
 #define        ELF32_MACHDEP_ID        EM_68K
 
+/*
+ * Machine-dependent ELF flags.  These are defined by the GNU tools.
+ */
+#define        EF_CPU32        0x00810000
+#define        EF_M68000       0x01000000
+
 #define ARCH_ELFSIZE           32      /* MD native binary size */
 
 /* m68k relocation types */



Home | Main Index | Thread Index | Old Index