OSDN Git Service

Fix lookup logic for linked namespaces
authorDimitry Ivanov <dimitry@google.com>
Mon, 27 Mar 2017 21:11:02 +0000 (14:11 -0700)
committerDimitry Ivanov <dimitry@google.com>
Sun, 2 Apr 2017 02:15:32 +0000 (19:15 -0700)
commitdedcf35bcc98e8b62fb6480022cd11ae671280ad
tree922564308baea40441defe570dce912aff258615
parenteca0f9910d3b1fc5608fc82b1ff28325f74678cb
Fix lookup logic for linked namespaces

When looking for already loaded libraries include
linked namespaces to the search, but check if
the library is accessible from the main namespace.

Bug: http://b/36008422
Bug: http://b/35417197
Bug: http://b/34052337
Bug: http://b/36660652
Bug: https://issuetracker.google.com/36636090
Test: run bionic-unit-tests --gtest_filter=dl*:Dl*
Change-Id: Ic7c1d48114da3ca5dc6512ef03f595dd17b6ed17
(cherry picked from commit d3e7d088453e089b3d625b0864ccdf3c74893f18)
linker/linker.cpp
tests/dlext_test.cpp