summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2024-03-20 17:27:54 +0000
committer Elliott Hughes <enh@google.com> 2024-03-21 15:34:25 +0000
commit24ff85059ba87dd1cde6370364cbb2259beff0ff (patch)
treea286878a8dc788896c2ea659869b3b74ef5b729e
parentb9508fce4ec818d3ad148dc49c45c341a0c63b0f (diff)
Remove unnecessary EM_* defines.
All the <elf.h> files we use should have these. Change-Id: Idccaef2f650d70ee8ce4dd113942e23156cd4cc8
-rw-r--r--libelffile/elf/elf_utils.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libelffile/elf/elf_utils.h b/libelffile/elf/elf_utils.h
index e101920ef8..90f3121698 100644
--- a/libelffile/elf/elf_utils.h
+++ b/libelffile/elf/elf_utils.h
@@ -64,17 +64,10 @@ struct ElfTypes64 {
#define EF_ARM_EABI_VER5 0x05000000
#define EI_ABIVERSION 8
-#define EM_ARM 40
#if !defined(STV_DEFAULT)
#define STV_DEFAULT 0
#endif
-#define EM_AARCH64 183
-
-#ifndef EM_RISCV
-#define EM_RISCV 243
-#endif
-
#ifndef EF_RISCV_RVC
#define EF_RISCV_RVC 0x1
#define EF_RISCV_FLOAT_ABI_DOUBLE 0x4