elf.h: add DT_SYMTAB_SHNDX
authorSzabolcs Nagy <nsz@port70.net>
Tue, 6 Feb 2018 22:33:38 +0000 (22:33 +0000)
committerRich Felker <dalias@aerifal.cx>
Thu, 22 Feb 2018 23:51:16 +0000 (18:51 -0500)
it's a recent addition to elf gabi:
http://sco.com/developers/gabi/latest/revision.html
based on discussions at
https://sourceware.org/bugzilla/show_bug.cgi?id=15835

include/elf.h

index dab750d..78906f1 100644 (file)
@@ -742,7 +742,8 @@ typedef struct {
 #define DT_ENCODING    32
 #define DT_PREINIT_ARRAY 32
 #define DT_PREINIT_ARRAYSZ 33
-#define        DT_NUM          34
+#define DT_SYMTAB_SHNDX        34
+#define        DT_NUM          35
 #define DT_LOOS                0x6000000d
 #define DT_HIOS                0x6ffff000
 #define DT_LOPROC      0x70000000