Skip to content

Commit 8db45c6

Browse files
author
Adam Joseph
committed
elf.h: resynchronize with glibc elf.h
This commit adds two symbols (SHT_MIPS_XHASH and DT_MIPS_XHASH) found in glibc, and updates the value of DT_MIPS_NUM. These changes were made to glibc in 23c1c256ae7b0f010d0fcaff60682b620887b164 on 29-Aug-2019.
1 parent be0cc30 commit 8db45c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/elf.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,6 +1400,7 @@ typedef struct
14001400
#define SHT_MIPS_EH_REGION 0x70000027
14011401
#define SHT_MIPS_XLATE_OLD 0x70000028
14021402
#define SHT_MIPS_PDR_EXCEPTION 0x70000029
1403+
#define SHT_MIPS_XHASH 0x7000002b
14031404

14041405
/* Legal values for sh_flags field of Elf32_Shdr. */
14051406

@@ -1647,7 +1648,9 @@ typedef struct
16471648
in a PIE as it stores a relative offset from the address of the tag
16481649
rather than an absolute address. */
16491650
#define DT_MIPS_RLD_MAP_REL 0x70000035
1650-
#define DT_MIPS_NUM 0x36
1651+
/* GNU-style hash table with xlat. */
1652+
#define DT_MIPS_XHASH 0x70000036
1653+
#define DT_MIPS_NUM 0x37
16511654

16521655
/* Legal values for DT_MIPS_FLAGS Elf32_Dyn entry. */
16531656

0 commit comments

Comments
 (0)