summaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
Diffstat (limited to 'linker')
-rw-r--r--linker/linker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linker/linker.c b/linker/linker.c
index a6ecd1a..9e28b13 100644
--- a/linker/linker.c
+++ b/linker/linker.c
@@ -162,6 +162,7 @@ static void insert_soinfo_into_debug_map(soinfo * info)
map = &(info->linkmap);
map->l_addr = info->base;
map->l_name = (char*) info->name;
+ map->l_ld = (uintptr_t)info->dynamic;
/* Stick the new library at the end of the list.
* gdb tends to care more about libc than it does