diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-02-05 06:30:04 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-02-05 06:30:17 -0800 |
commit | b44e0dfbacecd0f84ebfa942e6d6c0153981680e (patch) | |
tree | 2411de99356cdde1005d4539fd9daac82cffbf27 | |
parent | f886c16ca5d1f35bd77946c3a93b6149b05f38f0 (diff) | |
download | glibc-b44e0dfbacecd0f84ebfa942e6d6c0153981680e.zip glibc-b44e0dfbacecd0f84ebfa942e6d6c0153981680e.tar.gz glibc-b44e0dfbacecd0f84ebfa942e6d6c0153981680e.tar.bz2 |
Add DT_SYMTAB_SHNDX from gABI
* elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
(DT_NUM): Updated to 35.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | elf/elf.h | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,10 @@ 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 __builtin_expect with __glibc_likely and __glibc_unlikely. (elf_machine_rela): Likewise. @@ -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 */ |