diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-10-06 20:58:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-10-06 20:58:18 +0000 |
commit | b50063e7723d8a96f3eaeb641e59f7f161dcd917 (patch) | |
tree | 912a3440a1bc70d7ac987e099524134196c40874 /sys | |
parent | bf3a6255750ff2254e0357e9e01506962b1f316f (diff) |
Early bits for a 32-bit SuperH toolchain, currently for little-endian
systems only; more work is necessary in ld land.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/exec_aout.h | 3 | ||||
-rw-r--r-- | sys/sys/exec_elf.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/exec_aout.h b/sys/sys/exec_aout.h index b989c2e5b8c..47cb20fa66e 100644 --- a/sys/sys/exec_aout.h +++ b/sys/sys/exec_aout.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_aout.h,v 1.21 2004/08/10 18:51:15 deraadt Exp $ */ +/* $OpenBSD: exec_aout.h,v 1.22 2006/10/06 20:58:17 miod Exp $ */ /* $NetBSD: exec_aout.h,v 1.15 1996/05/18 17:20:54 christos Exp $ */ /* @@ -76,6 +76,7 @@ struct exec { #define MID_ALPHA 141 /* Alpha BSD binary */ #define MID_MIPS 142 /* big-endian MIPS */ #define MID_ARM6 143 /* ARM6 */ +#define MID_SH3 145 /* SH3 */ #define MID_POWERPC 149 /* big-endian PowerPC */ #define MID_VAX 150 /* vax */ #define MID_SPARC64 151 /* LP64 sparc */ diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h index f72f81e145e..e100776d48e 100644 --- a/sys/sys/exec_elf.h +++ b/sys/sys/exec_elf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.h,v 1.41 2006/01/06 18:53:05 millert Exp $ */ +/* $OpenBSD: exec_elf.h,v 1.42 2006/10/06 20:58:17 miod Exp $ */ /* * Copyright (c) 1995, 1996 Erik Theisen. All rights reserved. * @@ -189,6 +189,7 @@ typedef struct { #define EM_PPC 20 /* PowerPC */ #define EM_ARM 40 /* Advanced RISC Machines ARM */ #define EM_ALPHA 41 /* DEC ALPHA */ +#define EM_SH 42 /* Hitachi/Renesas Super-H */ #define EM_SPARCV9 43 /* SPARC version 9 */ #define EM_ALPHA_EXP 0x9026 /* DEC ALPHA */ #define EM_AMD64 62 /* AMD64 architecture */ |