diff options
author | Matthew Fortune <matthew.fortune@imgtec.com> | 2015-06-11 10:43:48 +0100 |
---|---|---|
committer | Matthew Fortune <matthew.fortune@imgtec.com> | 2015-06-26 12:03:45 +0100 |
commit | a2057c984e4314c3740f04cf54e36c824e4c8f32 (patch) | |
tree | 672f0235b7e453357caf0a2ae08ada10e5506f34 /elf/elf.h | |
parent | a8e2112ae3e57fae592d84af2936a61d6239a248 (diff) | |
download | glibc-a2057c984e4314c3740f04cf54e36c824e4c8f32.tar.gz |
Add support for DT_MIPS_RLD_MAP_REL.
This tag allows debugging of MIPS position independent executables
and provides access to shared library information.
* elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
(DT_MIPS_NUM): Update.
* sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
DT_MIPS_RLD_MAP_REL.
Diffstat (limited to 'elf/elf.h')
-rw-r--r-- | elf/elf.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1727,7 +1727,11 @@ typedef struct PLT is writable. For a non-writable PLT, this is omitted or has a zero value. */ #define DT_MIPS_RWPLT 0x70000034 -#define DT_MIPS_NUM 0x35 +/* An alternative description of the classic MIPS RLD_MAP that is usable + in a PIE as it stores a relative offset from the address of the tag + rather than an absolute address. */ +#define DT_MIPS_RLD_MAP_REL 0x70000035 +#define DT_MIPS_NUM 0x36 /* Legal values for DT_MIPS_FLAGS Elf32_Dyn entry. */ |