diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2014-09-05 16:42:53 -0700 |
---|---|---|
committer | Dmitriy Ivanov <dimitry@google.com> | 2014-09-08 13:02:50 -0700 |
commit | 14669a939d113214a4a20b9318fca0992d5453f0 (patch) | |
tree | 160b15f09cb7edc2da5b02e47cf3d5ce1461df97 /linker/linker_phdr.h | |
parent | 320a01d51693408dad859094ca52e5f315ff1d15 (diff) | |
download | android_bionic-14669a939d113214a4a20b9318fca0992d5453f0.tar.gz android_bionic-14669a939d113214a4a20b9318fca0992d5453f0.tar.bz2 android_bionic-14669a939d113214a4a20b9318fca0992d5453f0.zip |
Load libraries in breadth-first order
This patch fixes the problem with symbol search order
for dlsym(RTLD_DEFAULT/RTLD_NEXT, .) by loading libraries
and ld_preloads in correct order.
Bug: https://code.google.com/p/android/issues/detail?id=74255
Change-Id: If1ba5c807322409faa914e27ecb675e2c4541f0d
Attempt: 2
Diffstat (limited to 'linker/linker_phdr.h')
-rw-r--r-- | linker/linker_phdr.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linker/linker_phdr.h b/linker/linker_phdr.h index 50708a0e6..d4c3ce85f 100644 --- a/linker/linker_phdr.h +++ b/linker/linker_phdr.h @@ -101,7 +101,6 @@ int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, El #endif void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count, - ElfW(Addr) load_bias, - ElfW(Dyn)** dynamic, size_t* dynamic_count, ElfW(Word)* dynamic_flags); + ElfW(Addr) load_bias, ElfW(Dyn)** dynamic); #endif /* LINKER_PHDR_H */ |