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