commit | 618f1a36f8635fa0f2d60c621fbf79ead2c3f3de | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Tue Mar 17 20:06:36 2015 -0700 |
committer | Dmitriy Ivanov <dimitry@google.com> | Wed Mar 18 18:14:30 2015 -0700 |
tree | 22f103645d9fcd4568dae35f9c76262541bc85bb | |
parent | c6fbbb42e69bef4f058d0cbfaaaf3cbf51f95694 [diff] [blame] |
Implement lookup by DT_SONAME This CL also fixes SEARCH_NAME hack and resolves https://code.google.com/p/android/issues/detail?id=6670 once and for all. Bug: https://code.google.com/p/android/issues/detail?id=6670 Change-Id: I9b8d6a672cd722f30fbfbb40cdee8d9b39cfe56e
diff --git a/linker/dlfcn.cpp b/linker/dlfcn.cpp index 9a8dbc9..64df7a5 100644 --- a/linker/dlfcn.cpp +++ b/linker/dlfcn.cpp
@@ -248,6 +248,7 @@ __libdl_info.ref_count_ = 1; __libdl_info.strtab_size_ = sizeof(ANDROID_LIBDL_STRTAB); __libdl_info.local_group_root_ = &__libdl_info; + __libdl_info.soname_ = "libdl.so"; } return &__libdl_info;