-/* $OpenBSD: exec.h,v 1.43 2021/03/21 11:29:38 semarie Exp $ */
+/* $OpenBSD: exec.h,v 1.44 2021/04/23 15:53:07 drahn Exp $ */
/* $NetBSD: exec.h,v 1.59 1996/02/09 18:25:09 christos Exp $ */
/*-
#define MID_MIPS64 158 /* big-endian MIPS64 */
#define MID_ARM64 159 /* ARM64 */
#define MID_POWERPC64 160 /* big-endian 64-bit PowerPC */
+#define MID_RISCV64 161 /* Little-endian 64-bit RISC-V */
#define MID_HP200 200 /* hp200 (68010) BSD binary */
#define MID_HP300 300 /* hp300 (68020+68881) BSD binary */
#define MID_HPUX 0x20C /* hp200/300 HP-UX binary */
-/* $OpenBSD: exec_elf.h,v 1.89 2021/03/10 10:21:47 jsg Exp $ */
+/* $OpenBSD: exec_elf.h,v 1.90 2021/04/23 15:53:07 drahn Exp $ */
/*
* Copyright (c) 1995, 1996 Erik Theisen. All rights reserved.
*
#define EM_X86_64 EM_AMD64
#define EM_VAX 75 /* DEC VAX */
#define EM_AARCH64 183 /* ARM 64-bit architecture (AArch64) */
+#define EM_RISCV 243 /* RISC-V */
/* Non-standard */
#define EM_ALPHA_EXP 0x9026 /* DEC ALPHA */