aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid Code Review <code-review@android.com>2009-09-16 17:40:39 -0700
committerAndroid Code Review <code-review@android.com>2009-09-16 17:40:39 -0700
commit5672726b44f796b43ec825aa666925231e8d69a4 (patch)
tree2a2ad4eeeae720377134296630d87040704e1020
parenta246a71975c1b4a939421ed20fdd8557f93de46f (diff)
parent5cf640c926e7d7b79934c97226433a3dc448e1eb (diff)
downloadandroid_bionic-5672726b44f796b43ec825aa666925231e8d69a4.tar.gz
android_bionic-5672726b44f796b43ec825aa666925231e8d69a4.tar.bz2
android_bionic-5672726b44f796b43ec825aa666925231e8d69a4.zip
Merge change 10587
* changes: Fill l_ld of linkmaps with value from soinfo::dynamic.
-rw-r--r--linker/linker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linker/linker.c b/linker/linker.c
index 789a82840..27fe9d772 100644
--- a/linker/linker.c
+++ b/linker/linker.c
@@ -152,6 +152,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