From b05d43860be6a7f0d84af6f3127c5a988163de56 Mon Sep 17 00:00:00 2001 From: "Joshua J. Drake" Date: Sun, 2 Jan 2022 17:39:40 -0600 Subject: [PATCH] Add ARM Aarch64 define (from elf.h) --- elfio/elf_types.hpp | 2 +- elfio/elfio_dump.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/elfio/elf_types.hpp b/elfio/elf_types.hpp index 68248d8..b99c35f 100644 --- a/elfio/elf_types.hpp +++ b/elfio/elf_types.hpp @@ -247,7 +247,7 @@ constexpr Elf_Half EM_SLE9X = 179; // Infineon Technologies SLE9X core constexpr Elf_Half EM_L1OM = 180; // Intel L1OM constexpr Elf_Half EM_INTEL181 = 181; // Reserved by Intel constexpr Elf_Half EM_INTEL182 = 182; // Reserved by Intel -constexpr Elf_Half EM_res183 = 183; // Reserved by ARM +constexpr Elf_Half EM_AARCH64 = 183; // ARM AArch64 constexpr Elf_Half EM_res184 = 184; // Reserved by ARM constexpr Elf_Half EM_AVR32 = 185; // Atmel Corporation 32-bit microprocessor family constexpr Elf_Half EM_STM8 = 186; // STMicroeletronics STM8 8-bit microcontroller diff --git a/elfio/elfio_dump.hpp b/elfio/elfio_dump.hpp index 392c772..3688992 100644 --- a/elfio/elfio_dump.hpp +++ b/elfio/elfio_dump.hpp @@ -264,7 +264,7 @@ static const struct machine_table_t { EM_L1OM, "Intel L1OM" }, { EM_INTEL181, "Reserved by Intel" }, { EM_INTEL182, "Reserved by Intel" }, - { EM_res183, "Reserved by ARM" }, + { EM_AARCH64, "ARM AArch64" }, { EM_res184, "Reserved by ARM" }, { EM_AVR32, "Atmel Corporation 32-bit microprocessor family" }, { EM_STM8, "STMicroeletronics STM8 8-bit microcontroller" },