commit | ae69a9584baf8dd6a28065538ca09d1924ebd9e4 | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Fri Sep 05 16:42:53 2014 -0700 |
committer | Dmitriy Ivanov <dimitry@google.com> | Wed Oct 01 16:01:28 2014 -0700 |
tree | cb5ce1e7b9e2e7584bded8b07a9eaaf4517aa7c7 | |
parent | c0133a73b6f37b88afc8dafb6f63af03cbb708f6 [diff] |
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 Attempt: 2 (cherry picked from commit 14669a939d113214a4a20b9318fca0992d5453f0) Change-Id: Id87540c96a2242220967b6fa5d84ddcd829e2b97