summaryrefslogtreecommitdiff
path: root/linker/linker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r--linker/linker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 77f5359f3..0fdf90d2e 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -3658,8 +3658,8 @@ bool soinfo::prelink_image() {
*dp = &_r_debug;
}
break;
- case DT_MIPS_RLD_MAP2:
- // Set the DT_MIPS_RLD_MAP2 entry to the address of _r_debug for GDB.
+ case DT_MIPS_RLD_MAP_REL:
+ // Set the DT_MIPS_RLD_MAP_REL entry to the address of _r_debug for GDB.
{
r_debug** dp = reinterpret_cast<r_debug**>(
reinterpret_cast<ElfW(Addr)>(d) + d->d_un.d_val);