summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2024-03-21 17:25:18 +0000
committer Elliott Hughes <enh@google.com> 2024-03-25 14:37:18 +0000
commitc5e25a99840aeb9b60e914287573bdef16fcb292 (patch)
tree4d5956152b1d97e9242ce5754118265cfa4bd0c8
parentce409bee72816fd41938dcc5a371329cabdf207f (diff)
Remove unnecessary redefinitions of DT_ constants.
All of our libcs (that have <elf.h>) define all of these. Change-Id: If947c3f88a90e07e2d92a448da75fa4b49f13975
-rw-r--r--libelffile/elf/elf_utils.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libelffile/elf/elf_utils.h b/libelffile/elf/elf_utils.h
index 90f3121698..582d2a0945 100644
--- a/libelffile/elf/elf_utils.h
+++ b/libelffile/elf/elf_utils.h
@@ -73,14 +73,6 @@ struct ElfTypes64 {
#define EF_RISCV_FLOAT_ABI_DOUBLE 0x4
#endif
-#define DT_BIND_NOW 24
-#define DT_INIT_ARRAY 25
-#define DT_FINI_ARRAY 26
-#define DT_INIT_ARRAYSZ 27
-#define DT_FINI_ARRAYSZ 28
-#define DT_RUNPATH 29
-#define DT_FLAGS 30
-
// Patching section type
#define SHT_OAT_PATCH SHT_LOUSER