diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-06-19 22:57:54 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-06-19 22:57:54 +0000 |
commit | 7da3a87bfd416ee89f29b4c86fb5b236c21e58bc (patch) | |
tree | 5513a50a724e06215accebf5d2540312a36943ef /gnu/usr.bin | |
parent | 5ea1daab0a05a117ed7781d1ef52f74f1b49814a (diff) |
At least display the DT_GNU_HASH tag nicely
ok kettenis@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/binutils/readelf.c | 1 | ||||
-rw-r--r-- | gnu/usr.bin/binutils-2.17/include/elf/common.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/binutils/readelf.c b/gnu/usr.bin/binutils-2.17/binutils/readelf.c index 3c107e27416..fe8b5200cee 100644 --- a/gnu/usr.bin/binutils-2.17/binutils/readelf.c +++ b/gnu/usr.bin/binutils-2.17/binutils/readelf.c @@ -1485,6 +1485,7 @@ get_dynamic_type (unsigned long type) case DT_VERSYM: return "VERSYM"; + case DT_GNU_HASH: return "GNU_HASH"; case DT_TLSDESC_GOT: return "TLSDESC_GOT"; case DT_TLSDESC_PLT: return "TLSDESC_PLT"; case DT_RELACOUNT: return "RELACOUNT"; diff --git a/gnu/usr.bin/binutils-2.17/include/elf/common.h b/gnu/usr.bin/binutils-2.17/include/elf/common.h index 8cee275c6d4..da0a9dfa965 100644 --- a/gnu/usr.bin/binutils-2.17/include/elf/common.h +++ b/gnu/usr.bin/binutils-2.17/include/elf/common.h @@ -591,6 +591,7 @@ #define DT_VALRNGHI 0x6ffffdff #define DT_ADDRRNGLO 0x6ffffe00 +#define DT_GNU_HASH 0x6ffffef5 #define DT_TLSDESC_PLT 0x6ffffef6 #define DT_TLSDESC_GOT 0x6ffffef7 #define DT_GNU_CONFLICT 0x6ffffef8 |