summaryrefslogtreecommitdiff
path: root/linker/linker_main.cpp
diff options
context:
space:
mode:
authordimitry <dimitry@google.com>2017-08-29 18:14:49 +0200
committerdimitry <dimitry@google.com>2017-08-29 18:18:28 +0200
commit7abea57ba599b9b114031ae33699b5d7fba8cc97 (patch)
tree773b5e56bf6c0cd110f86797a6be7cd8923fceda /linker/linker_main.cpp
parent25bf29bbadaeb593bdb9211dc75063903ce369e4 (diff)
Replace artificial symbol table with proper one
This change also replaces elf-hash with gnu-hash. Test: make Test: bionic-unit-tests --gtest_filter=dl*:Dl* Change-Id: Ibc4026f7abc7e8002f69c33eebaf6a193f1d22eb
Diffstat (limited to 'linker/linker_main.cpp')
-rw-r--r--linker/linker_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker_main.cpp b/linker/linker_main.cpp
index 54593e434..e8b02d675 100644
--- a/linker/linker_main.cpp
+++ b/linker/linker_main.cpp
@@ -579,7 +579,7 @@ extern "C" ElfW(Addr) __linker_init(void* raw_args) {
// Initialize static variables. Note that in order to
// get correct libdl_info we need to call constructors
// before get_libdl_info().
- sonext = solist = get_libdl_info(kLinkerPath, linker_link_map);
+ sonext = solist = get_libdl_info(kLinkerPath, linker_so, linker_link_map);
g_default_namespace.add_soinfo(solist);
// We have successfully fixed our own relocations. It's safe to run