aout_mids.h revision 1.1 1 1.1 tsutsui /* $NetBSD: aout_mids.h,v 1.1 2011/07/16 15:52:02 tsutsui Exp $ */
2 1.1 tsutsui
3 1.1 tsutsui /*
4 1.1 tsutsui * Copyright (c) 2009, The NetBSD Foundation, Inc.
5 1.1 tsutsui * All rights reserved.
6 1.1 tsutsui *
7 1.1 tsutsui * Redistribution and use in source and binary forms, with or without
8 1.1 tsutsui * modification, are permitted provided that the following conditions
9 1.1 tsutsui * are met:
10 1.1 tsutsui * 1. Redistributions of source code must retain the above copyright
11 1.1 tsutsui * notice, this list of conditions and the following disclaimer.
12 1.1 tsutsui * 2. Redistributions in binary form must reproduce the above copyright
13 1.1 tsutsui * notice, this list of conditions and the following disclaimer in the
14 1.1 tsutsui * documentation and/or other materials provided with the distribution.
15 1.1 tsutsui *
16 1.1 tsutsui * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 1.1 tsutsui * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 1.1 tsutsui * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 1.1 tsutsui * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 1.1 tsutsui * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 1.1 tsutsui * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 1.1 tsutsui * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 1.1 tsutsui * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 1.1 tsutsui * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 1.1 tsutsui * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 1.1 tsutsui */
27 1.1 tsutsui
28 1.1 tsutsui #ifndef _SYS_MACHINE_IDS_H_
29 1.1 tsutsui #define _SYS_MACHINE_IDS_H_
30 1.1 tsutsui
31 1.1 tsutsui
32 1.1 tsutsui /*
33 1.1 tsutsui * a_mid - keep sorted in numerical order for sanity's sake
34 1.1 tsutsui * ensure that: 0 < mid < 0x3ff
35 1.1 tsutsui */
36 1.1 tsutsui #define MID_ZERO 0 /* unknown - implementation dependent */
37 1.1 tsutsui #define MID_SUN010 1 /* sun 68010/68020 binary */
38 1.1 tsutsui #define MID_SUN020 2 /* sun 68020-only binary */
39 1.1 tsutsui #define MID_PC386 100 /* 386 PC binary. (so quoth BFD) */
40 1.1 tsutsui #define MID_HP200 200 /* hp200 (68010) BSD binary */
41 1.1 tsutsui #define MID_I386 134 /* i386 BSD binary */
42 1.1 tsutsui #define MID_M68K 135 /* m68k BSD binary with 8K page sizes */
43 1.1 tsutsui #define MID_M68K4K 136 /* m68k BSD binary with 4K page sizes */
44 1.1 tsutsui #define MID_NS32532 137 /* ns32532 */
45 1.1 tsutsui #define MID_SPARC 138 /* sparc */
46 1.1 tsutsui #define MID_PMAX 139 /* pmax */
47 1.1 tsutsui #define MID_VAX1K 140 /* VAX 1K page size binaries */
48 1.1 tsutsui #define MID_ALPHA 141 /* Alpha BSD binary */
49 1.1 tsutsui #define MID_MIPS 142 /* big-endian MIPS */
50 1.1 tsutsui #define MID_ARM6 143 /* ARM6 */
51 1.1 tsutsui #define MID_M680002K 144 /* m68000 with 2K page sizes */
52 1.1 tsutsui #define MID_SH3 145 /* SH3 */
53 1.1 tsutsui #define MID_POWERPC 149 /* big-endian PowerPC */
54 1.1 tsutsui #define MID_VAX 150 /* VAX */
55 1.1 tsutsui /* 151 - MIPS1 */
56 1.1 tsutsui /* 152 - MIPS2 */
57 1.1 tsutsui #define MID_M88K 153 /* m88k BSD */
58 1.1 tsutsui #define MID_HPPA 154 /* HP PARISC */
59 1.1 tsutsui #define MID_SH5_64 155 /* LP64 SH5 */
60 1.1 tsutsui #define MID_SPARC64 156 /* LP64 sparc */
61 1.1 tsutsui #define MID_X86_64 157 /* AMD x86-64 */
62 1.1 tsutsui #define MID_SH5_32 158 /* ILP32 SH5 */
63 1.1 tsutsui #define MID_HP200 200 /* hp200 (68010) BSD binary */
64 1.1 tsutsui #define MID_HP300 300 /* hp300 (68020+68881) BSD binary */
65 1.1 tsutsui #define MID_HPUX 0x20C /* hp200/300 HP-UX binary */
66 1.1 tsutsui #define MID_HPUX800 0x20B /* hp800 HP-UX binary */
67 1.1 tsutsui
68 1.1 tsutsui #endif /* _SYS_MACHINE_IDS_H_ */
69