bionic/linker: fix symbol lookup during relocations

When resolving relocations while loading a library, the linker used to find
symbols by looking them up in the list of all linked libraries for the current
process, as opposed to following just the library's DT_NEEDED entries.  This
can cause a problem where the symbol is picked up from the wrong library.

Signed-off-by: Iliyan Malchev <malchev@google.com>
1 file changed
tree: 4f0b57fa3743ec253faac9ced5e4d9586920a633
  1. .gitignore
  2. Android.mk
  3. libc/
  4. libdl/
  5. libm/
  6. libstdc++/
  7. libthread_db/
  8. linker/