1*1e74bd6aSchristos /* $NetBSD: aout_mids.h,v 1.2 2019/05/20 18:24:57 christos Exp $ */ 2a81fe125Stsutsui 3a81fe125Stsutsui /* 4a81fe125Stsutsui * Copyright (c) 2009, The NetBSD Foundation, Inc. 5a81fe125Stsutsui * All rights reserved. 6a81fe125Stsutsui * 7a81fe125Stsutsui * Redistribution and use in source and binary forms, with or without 8a81fe125Stsutsui * modification, are permitted provided that the following conditions 9a81fe125Stsutsui * are met: 10a81fe125Stsutsui * 1. Redistributions of source code must retain the above copyright 11a81fe125Stsutsui * notice, this list of conditions and the following disclaimer. 12a81fe125Stsutsui * 2. Redistributions in binary form must reproduce the above copyright 13a81fe125Stsutsui * notice, this list of conditions and the following disclaimer in the 14a81fe125Stsutsui * documentation and/or other materials provided with the distribution. 15a81fe125Stsutsui * 16a81fe125Stsutsui * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17a81fe125Stsutsui * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18a81fe125Stsutsui * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19a81fe125Stsutsui * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20a81fe125Stsutsui * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21a81fe125Stsutsui * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22a81fe125Stsutsui * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23a81fe125Stsutsui * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24a81fe125Stsutsui * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25a81fe125Stsutsui * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26a81fe125Stsutsui */ 27a81fe125Stsutsui 28*1e74bd6aSchristos #ifndef _SYS_AOUT_MIDS_H_ 29*1e74bd6aSchristos #define _SYS_AOUT_MIDS_H_ 30a81fe125Stsutsui 31a81fe125Stsutsui /* 32a81fe125Stsutsui * a_mid - keep sorted in numerical order for sanity's sake 33a81fe125Stsutsui * ensure that: 0 < mid < 0x3ff 34*1e74bd6aSchristos * 35*1e74bd6aSchristos * NB: These are still being used in kernel core files. 36a81fe125Stsutsui */ 37*1e74bd6aSchristos #define MID_ZERO 0x000 /* unknown - implementation dependent */ 38*1e74bd6aSchristos #define MID_SUN010 0x001 /* sun 68010/68020 binary */ 39*1e74bd6aSchristos #define MID_SUN020 0x002 /* sun 68020-only binary */ 40a81fe125Stsutsui 41*1e74bd6aSchristos #define MID_PC386 0x064 /* 386 PC binary. (so quoth BFD) */ 42*1e74bd6aSchristos 43*1e74bd6aSchristos #define MID_I386 0x086 /* i386 BSD binary */ 44*1e74bd6aSchristos #define MID_M68K 0x087 /* m68k BSD binary with 8K page sizes */ 45*1e74bd6aSchristos #define MID_M68K4K 0x088 /* m68k BSD binary with 4K page sizes */ 46*1e74bd6aSchristos #define MID_NS32532 0x089 /* ns32532 */ 47*1e74bd6aSchristos #define MID_SPARC 0x08a /* sparc */ 48*1e74bd6aSchristos #define MID_PMAX 0x08b /* pmax */ 49*1e74bd6aSchristos #define MID_VAX1K 0x08c /* VAX 1K page size binaries */ 50*1e74bd6aSchristos #define MID_ALPHA 0x08d /* Alpha BSD binary */ 51*1e74bd6aSchristos #define MID_MIPS 0x08e /* big-endian MIPS */ 52*1e74bd6aSchristos #define MID_ARM6 0x08f /* ARM6 */ 53*1e74bd6aSchristos #define MID_M680002K 0x090 /* m68000 with 2K page sizes */ 54*1e74bd6aSchristos #define MID_SH3 0x091 /* SH3 */ 55*1e74bd6aSchristos 56*1e74bd6aSchristos #define MID_POWERPC64 0x094 /* big-endian PowerPC 64 */ 57*1e74bd6aSchristos #define MID_POWERPC 0x095 /* big-endian PowerPC */ 58*1e74bd6aSchristos #define MID_VAX 0x096 /* VAX */ 59*1e74bd6aSchristos #define MID_MIPS1 0x097 /* MIPS1 */ 60*1e74bd6aSchristos #define MID_MIPS2 0x098 /* MIPS2 */ 61*1e74bd6aSchristos #define MID_M88K 0x099 /* m88k BSD */ 62*1e74bd6aSchristos #define MID_HPPA 0x09a /* HP PARISC */ 63*1e74bd6aSchristos #define MID_SH5_64 0x09b /* LP64 SH5 */ 64*1e74bd6aSchristos #define MID_SPARC64 0x09c /* LP64 sparc */ 65*1e74bd6aSchristos #define MID_X86_64 0x09d /* AMD x86-64 */ 66*1e74bd6aSchristos #define MID_SH5_32 0x09e /* ILP32 SH5 */ 67*1e74bd6aSchristos #define MID_IA64 0x09f /* Itanium */ 68*1e74bd6aSchristos 69*1e74bd6aSchristos #define MID_AARCH64 0x0b7 /* ARM AARCH64 */ 70*1e74bd6aSchristos #define MID_OR1K 0x0b8 /* OpenRISC 1000 */ 71*1e74bd6aSchristos #define MID_RISCV 0x0b9 /* Risc-V */ 72*1e74bd6aSchristos 73*1e74bd6aSchristos #define MID_HP200 0x0c8 /* hp200 (68010) BSD binary */ 74*1e74bd6aSchristos 75*1e74bd6aSchristos #define MID_HP300 0x12c /* hp300 (68020+68881) BSD binary */ 76*1e74bd6aSchristos 77*1e74bd6aSchristos #define MID_HPUX800 0x20b /* hp800 HP-UX binary */ 78*1e74bd6aSchristos #define MID_HPUX 0x20c /* hp200/300 HP-UX binary */ 79*1e74bd6aSchristos 80*1e74bd6aSchristos #endif /* _SYS_AOUT_MIDS_H_ */ 81