1*8009d72eSchristos /* $NetBSD: aout_mids.h,v 1.7 2017/01/14 21:29:02 christos Exp $ */ 27529c7ccShe 37529c7ccShe /* 47529c7ccShe * Copyright (c) 2009, The NetBSD Foundation, Inc. 57529c7ccShe * All rights reserved. 67529c7ccShe * 77529c7ccShe * Redistribution and use in source and binary forms, with or without 87529c7ccShe * modification, are permitted provided that the following conditions 97529c7ccShe * are met: 107529c7ccShe * 1. Redistributions of source code must retain the above copyright 117529c7ccShe * notice, this list of conditions and the following disclaimer. 127529c7ccShe * 2. Redistributions in binary form must reproduce the above copyright 137529c7ccShe * notice, this list of conditions and the following disclaimer in the 147529c7ccShe * documentation and/or other materials provided with the distribution. 157529c7ccShe * 167529c7ccShe * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 177529c7ccShe * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 187529c7ccShe * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 197529c7ccShe * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 207529c7ccShe * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 217529c7ccShe * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 227529c7ccShe * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 237529c7ccShe * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 247529c7ccShe * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 257529c7ccShe * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 267529c7ccShe */ 277529c7ccShe 28785f046bSchristos #ifndef _SYS_AOUT_MIDS_H_ 29785f046bSchristos #define _SYS_AOUT_MIDS_H_ 307529c7ccShe 317529c7ccShe /* 327529c7ccShe * a_mid - keep sorted in numerical order for sanity's sake 337529c7ccShe * ensure that: 0 < mid < 0x3ff 34785f046bSchristos * 35785f046bSchristos * NB: These are still being used in kernel core files. 367529c7ccShe */ 37785f046bSchristos #define MID_ZERO 0x000 /* unknown - implementation dependent */ 38785f046bSchristos #define MID_SUN010 0x001 /* sun 68010/68020 binary */ 39785f046bSchristos #define MID_SUN020 0x002 /* sun 68020-only binary */ 407529c7ccShe 41785f046bSchristos #define MID_PC386 0x064 /* 386 PC binary. (so quoth BFD) */ 42785f046bSchristos 43785f046bSchristos #define MID_I386 0x086 /* i386 BSD binary */ 44785f046bSchristos #define MID_M68K 0x087 /* m68k BSD binary with 8K page sizes */ 45785f046bSchristos #define MID_M68K4K 0x088 /* m68k BSD binary with 4K page sizes */ 46785f046bSchristos #define MID_NS32532 0x089 /* ns32532 */ 47785f046bSchristos #define MID_SPARC 0x08a /* sparc */ 48785f046bSchristos #define MID_PMAX 0x08b /* pmax */ 49785f046bSchristos #define MID_VAX1K 0x08c /* VAX 1K page size binaries */ 50785f046bSchristos #define MID_ALPHA 0x08d /* Alpha BSD binary */ 51785f046bSchristos #define MID_MIPS 0x08e /* big-endian MIPS */ 52785f046bSchristos #define MID_ARM6 0x08f /* ARM6 */ 53785f046bSchristos #define MID_M680002K 0x090 /* m68000 with 2K page sizes */ 54785f046bSchristos #define MID_SH3 0x091 /* SH3 */ 55286576e4Schristos 56*8009d72eSchristos #define MID_POWERPC64 0x094 /* big-endian PowerPC 64 */ 57286576e4Schristos #define MID_POWERPC 0x095 /* big-endian PowerPC */ 58286576e4Schristos #define MID_VAX 0x096 /* VAX */ 59286576e4Schristos #define MID_MIPS1 0x097 /* MIPS1 */ 60286576e4Schristos #define MID_MIPS2 0x098 /* MIPS2 */ 61286576e4Schristos #define MID_M88K 0x099 /* m88k BSD */ 62286576e4Schristos #define MID_HPPA 0x09a /* HP PARISC */ 63286576e4Schristos #define MID_SH5_64 0x09b /* LP64 SH5 */ 64286576e4Schristos #define MID_SPARC64 0x09c /* LP64 sparc */ 65286576e4Schristos #define MID_X86_64 0x09d /* AMD x86-64 */ 66286576e4Schristos #define MID_SH5_32 0x09e /* ILP32 SH5 */ 67286576e4Schristos #define MID_IA64 0x09f /* Itanium */ 68286576e4Schristos 69286576e4Schristos #define MID_AARCH64 0x0b7 /* ARM AARCH64 */ 70286576e4Schristos #define MID_OR1K 0x0b8 /* OpenRISC 1000 */ 71286576e4Schristos #define MID_RISCV 0x0b9 /* Risc-V */ 72785f046bSchristos 73785f046bSchristos #define MID_HP200 0x0c8 /* hp200 (68010) BSD binary */ 74785f046bSchristos 75785f046bSchristos #define MID_HP300 0x12c /* hp300 (68020+68881) BSD binary */ 76785f046bSchristos 77785f046bSchristos #define MID_HPUX800 0x20b /* hp800 HP-UX binary */ 78785f046bSchristos #define MID_HPUX 0x20c /* hp200/300 HP-UX binary */ 79785f046bSchristos 80785f046bSchristos #endif /* _SYS_AOUT_MIDS_H_ */ 81