OSDN Git Service

linker: don't pass dlextinfo to dependent loads.
authorTorne (Richard Coles) <torne@google.com>
Wed, 2 Sep 2015 13:14:08 +0000 (14:14 +0100)
committerDmitriy Ivanov <dimitry@google.com>
Thu, 8 Oct 2015 19:28:39 +0000 (12:28 -0700)
commita828a2f8e6fd5271787a7dea4c682cbf54425a14
tree4c92f143a1878dfc12ce5dfbcefb593d41fcdb8c
parent4f3e3591ace36b6d86e3a1bc8b3f438989cb0618
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: 23742664
Change-Id: I53d8cdf0982d8758e6d2ced4864c704cdf74118f
linker/linker.cpp
tests/libs/Android.mk