diff options
author | Raghu Gandham | 2014-12-18 21:12:19 -0600 |
---|---|---|
committer | Raghu Gandham | 2014-12-19 13:13:11 -0600 |
commit | 688157295f55edbfddb2277e7bdf5635f6be591a (patch) | |
tree | 1b112c37b41793712198b43e4ae492587c6272b0 /libc | |
parent | 65e6985617d035ef45da86f8c8bcceea7bc47239 (diff) | |
download | platform-bionic-688157295f55edbfddb2277e7bdf5635f6be591a.tar.gz platform-bionic-688157295f55edbfddb2277e7bdf5635f6be591a.tar.xz platform-bionic-688157295f55edbfddb2277e7bdf5635f6be591a.zip |
Add support for DT_MIPS_RLD_MAP2 tag.
Position Independent Executables cannot communicate with GDB using DT_MIPS_RLD_TAG.
Hence a new tag DT_MIPS_RLD_MAP2 got introduced to fix the issue.
Change-Id: I77ce3faf1ef2e121003b804ecd291abb25cfbb56
Signed-off-by: Nikola Veljkovic<Nikola.Veljkovic@imgtec.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/arch-mips/include/machine/elf_machdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/arch-mips/include/machine/elf_machdep.h b/libc/arch-mips/include/machine/elf_machdep.h index d27d4318..0aacedfe 100644 --- a/libc/arch-mips/include/machine/elf_machdep.h +++ b/libc/arch-mips/include/machine/elf_machdep.h | |||
@@ -121,6 +121,7 @@ | |||
121 | #define DT_MIPS_GOTSYM 0x70000013 /* first dynamic sym in got */ | 121 | #define DT_MIPS_GOTSYM 0x70000013 /* first dynamic sym in got */ |
122 | #define DT_MIPS_HIPAGENO 0x70000014 | 122 | #define DT_MIPS_HIPAGENO 0x70000014 |
123 | #define DT_MIPS_RLD_MAP 0x70000016 /* address of loader map */ | 123 | #define DT_MIPS_RLD_MAP 0x70000016 /* address of loader map */ |
124 | #define DT_MIPS_RLD_MAP2 0x70000035 /* offset of loader map, used for PIE */ | ||
124 | 125 | ||
125 | /* | 126 | /* |
126 | * ELF Flags | 127 | * ELF Flags |