]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add DT_SYMTAB_SHNDX from gABI
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 5 Feb 2018 14:30:04 +0000 (06:30 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 5 Feb 2018 14:30:17 +0000 (06:30 -0800)
* elf/elf.h (DT_SYMTAB_SHNDX): New.  Set to 34.
(DT_NUM): Updated to 35.

ChangeLog
elf/elf.h

index be74f2f67d9de60667f98668586c4fa33b23cb63..0509306521462f6ab3e5dd58106690f3f846984f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-02-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf/elf.h (DT_SYMTAB_SHNDX): New.  Set to 34.
+       (DT_NUM): Updated to 35.
+
 2018-02-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
index 954f3266f711ab83996670ea504a17dcf668e061..912bad22be09bc018e6138638271a210e93521b3 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -861,7 +861,8 @@ typedef struct
 #define DT_ENCODING    32              /* Start of encoded range */
 #define DT_PREINIT_ARRAY 32            /* Array with addresses of preinit fct*/
 #define DT_PREINIT_ARRAYSZ 33          /* size in bytes of DT_PREINIT_ARRAY */
-#define        DT_NUM          34              /* Number used */
+#define DT_SYMTAB_SHNDX        34              /* Address of SYMTAB_SHNDX section */
+#define        DT_NUM          35              /* Number used */
 #define DT_LOOS                0x6000000d      /* Start of OS-specific */
 #define DT_HIOS                0x6ffff000      /* End of OS-specific */
 #define DT_LOPROC      0x70000000      /* Start of processor-specific */