OSDN Git Service

linker: don't pass dlextinfo to dependent loads
authorDmitriy Ivanov <dimitry@google.com>
Wed, 2 Sep 2015 23:32:02 +0000 (16:32 -0700)
committerDmitriy Ivanov <dimitry@google.com>
Wed, 2 Sep 2015 23:32:02 +0000 (16:32 -0700)
commitedfc9f63a261994f2565492436607c04df980e21
treebeba695e03f777d9479835d5f1c0d1389704a322
parentcc25196662cab824117e7cb79e435bd3aaf37dcc
linker: don't pass dlextinfo to dependent loads

Don't pass the parent load's dlextinfo to dependent loads, since this
causes the linker to try to load the dependencies using the same
addresses/relro/fds/etc as the main library, which is never going to
work. This was how it worked before ae69a95 which broke this.

Bug: http://b/23742664
Bug: http://b/20948231
Bug: http://b/20841817
Change-Id: I340ebae1127666d5c6c6f9c6521b89fb93f15bdd
linker/linker.cpp
tests/dlext_test.cpp
tests/libs/Android.mk