about summary refs log tree commit diff
path: root/include/elf.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-02-06 22:33:38 +0000
committerRich Felker <dalias@aerifal.cx>2018-02-22 18:51:16 -0500
commit74ab4b828475bdd2afa76eb7c9e9808e7c872c1c (patch)
treee810aa33deabd37ecc4b45c9d94fda70e4ee4331 /include/elf.h
parentdfeeeaf5448d96d471b237b5f8a6f780f61445ba (diff)
downloadmusl-74ab4b828475bdd2afa76eb7c9e9808e7c872c1c.tar.gz
musl-74ab4b828475bdd2afa76eb7c9e9808e7c872c1c.tar.xz
musl-74ab4b828475bdd2afa76eb7c9e9808e7c872c1c.zip
elf.h: add DT_SYMTAB_SHNDX
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
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/elf.h b/include/elf.h
index dab750de..78906f15 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -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