From 90ddc06c983ad0868245af3c3550ec6172114778 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Wed, 14 Oct 2009 17:50:35 -0700 Subject: [PATCH] DT_INIT, DT_CHECKSUM, DT_VERSYM, DT_VERDEF, DT_VERNEEDED --- src/p_elf_enum.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/p_elf_enum.h b/src/p_elf_enum.h index e63abe64..ae9c060a 100644 --- a/src/p_elf_enum.h +++ b/src/p_elf_enum.h @@ -147,12 +147,17 @@ DT_SYMTAB = 6, /* Symbol table */ DT_RELA = 7, /* Relocations which do contain an addend */ DT_RELAENT = 9, /* Size of one RELA relocation */ + DT_INIT = 12, /* Address of init function */ DT_REL = 17, /* Relocations which contain no addend */ DT_RELENT = 19, /* Size of one Rel relocation */ DT_STRSZ = 10, /* Sizeof string table */ DT_PLTREL = 20, /* Type of reloc in PLT */ DT_JMPREL = 23, /* Address of PLT relocs */ - DT_GNU_HASH = 0x6ffffef5 /* GNU-style hash table */ + DT_CHECKSUM = 0x6ffffdf8, /* Only for prelink? */ + DT_GNU_HASH = 0x6ffffef5, /* GNU-style hash table */ + DT_VERSYM = 0x6ffffff0, /* version[] for each symbol */ + DT_VERDEF = 0x6ffffffc, /* version definitions[] */ + DT_VERNEEDED= 0x6ffffffe /* version[] needed */ }; #endif