bionic/linker
Dmitriy Ivanov c4ebe60e1a Fix dlsym(handle_of_main_executable, ...)
According to man dlopen(3) and posix docs in the case when si is handle
  of the main executable we need to search not only in the executable and its
  dependencies but also in all libraries loaded with RTLD_GLOBAL.

  see also: http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html

Bug: http://b/21528224
Bug: http://b/17512583
Bug: https://code.google.com/p/android/issues/detail?id=173822
Change-Id: Ib2801367ba48b6f3704da89a6d9f5e6911430013
(cherry picked from commit f439b5a318)
2015-06-01 16:57:33 -07:00
..
arch Fix mips/mips64 build 2014-07-28 21:03:17 -07:00
tests General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
Android.mk Add functions to provide target sdk version 2015-05-27 16:20:16 -07:00
debugger.cpp Fix regression in crash reporting 2015-05-15 07:48:33 -07:00
dlfcn.cpp Work around incorrect dt_needed entries 2015-05-28 15:25:55 -07:00
linked_list.h Support symbol versioning 2015-04-16 17:57:30 -07:00
linker_allocator.cpp General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_allocator.h General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_block_allocator.cpp Rename LinkerAllocator and LinkerAllocatorPage 2015-03-10 15:43:50 -07:00
linker_block_allocator.h General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_debug.h Simplify three copyright headers. 2015-05-12 10:34:22 -07:00
linker_environ.cpp linker: use libc's environ variable to store envp 2015-04-28 14:43:58 -07:00
linker_environ.h Replace NULL with nullptr 2014-08-29 14:13:48 -07:00
linker_libc_support.c Add a dummy atexit(3) to the linker. 2014-09-24 10:26:41 -07:00
linker_memory.cpp General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_mips.cpp Fix protected symbol lookups for mips 2015-05-05 15:39:42 -07:00
linker_phdr.cpp linker: never mark pages simultaneously writable / executable 2015-04-01 18:05:19 -07:00
linker_phdr.h Revert "Remove text-relocation support for lp32" 2015-04-01 21:18:48 +00:00
linker_reloc_iterators.h Fix long lines and replace macros with functions. 2015-03-31 11:49:25 -07:00
linker_relocs.h Refactor soinfo::relocate 2015-01-09 14:57:53 -08:00
linker_sdk_versions.cpp Add functions to provide target sdk version 2015-05-27 16:20:16 -07:00
linker_sleb128.h Always use signed leb128 decoder 2015-04-22 13:29:42 -07:00
linker.cpp Fix dlsym(handle_of_main_executable, ...) 2015-06-01 16:57:33 -07:00
linker.h Add functions to provide target sdk version 2015-05-27 16:20:16 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Update NOTICE files (the second time today). 2015-05-12 10:52:52 -07:00
rt.cpp More dynamic linker cleanup. 2012-10-30 16:35:38 -07:00