At least display the DT_GNU_HASH tag nicely
authorguenther <guenther@openbsd.org>
Sun, 19 Jun 2016 22:57:53 +0000 (22:57 +0000)
committerguenther <guenther@openbsd.org>
Sun, 19 Jun 2016 22:57:53 +0000 (22:57 +0000)
ok kettenis@

gnu/usr.bin/binutils-2.17/binutils/readelf.c
gnu/usr.bin/binutils-2.17/include/elf/common.h

index 3c107e2..fe8b520 100644 (file)
@@ -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";
index 8cee275..da0a9df 100644 (file)
 #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