From 4957faf4826468a3a4fd345c5239410586530a0b Mon Sep 17 00:00:00 2001 From: John Reiser Date: Mon, 12 Nov 2007 08:54:02 -0800 Subject: [PATCH] DT_GNU_HASH, DT_JMPREL, etc. --- src/p_elf_enum.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/p_elf_enum.h b/src/p_elf_enum.h index 263b4053..4a050683 100644 --- a/src/p_elf_enum.h +++ b/src/p_elf_enum.h @@ -141,10 +141,14 @@ enum { // d_tag DT_NULL = 0, /* End flag */ DT_NEEDED = 1, /* Name of needed library */ + DT_PLTRELSZ = 2, /* Size in bytes of PLT relocs */ DT_HASH = 4, /* Hash table of symbol names */ DT_STRTAB = 5, /* String table */ DT_SYMTAB = 6, /* Symbol table */ - DT_STRSZ = 10 /* Sizeof string table */ + 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 */ }; #endif