Add support for hash-style=gnu

Change-Id: I171434a587420895feac8a9b1ad2342087197568
This commit is contained in:
Dmitriy Ivanov
2014-11-09 19:27:20 -08:00
parent e5cabca516
commit ec18ce06f2
6 changed files with 241 additions and 68 deletions

View File

@@ -94,6 +94,9 @@ typedef struct {
#define DT_PREINIT_ARRAY 32
#define DT_PREINIT_ARRAYSZ 33
/* gnu hash entry */
#define DT_GNU_HASH 0x6ffffef5
#define ELFOSABI_SYSV 0 /* Synonym for ELFOSABI_NONE used by valgrind. */
#define PT_GNU_RELRO 0x6474e552