platform_bionic/linker
Vishwath Mohan 4113def4fa Refactor sanitized library on-disk layout - bionic.
This CL changes the linker to point to the newly refactored location
of ASAN-ified libraries on disk.

This supports changes made by the following CLs -
https://android-review.googlesource.com/#/c/359087/
https://android-review.googlesource.com/#/c/359389/

Which refactor the on-disk location as follows:
/data/lib* --> /data/asan/system/lib*
/data/vendor/* --> /data/asan/vendor/*

There are a couple of advantages to this, including better isolation
from other components, and more transparent linker renaming and
SELinux policies.

Bug: 36574794
Bug: 36674745
Test: m -j40 && SANITIZE_TARGET="address" m -j40 and the device
boots. All sanitized libraries are correctly located in /data/asan/*.

Change-Id: Iad8b298a66c38eb0f6327f6b51027f0728aa7a40
2017-03-30 20:07:50 -07:00
..
arch linker: convert 'mov pc' instruction to 'bx' 2017-01-14 14:40:07 +00:00
tests Load namespace configuration from ld.config.txt 2017-03-24 15:50:45 -07:00
Android.bp Merge "Load namespace configuration from ld.config.txt" 2017-03-25 05:17:32 +00:00
Android.mk Convert linker from Android.mk to Android.bp 2016-07-15 13:39:29 -07:00
dlfcn.cpp linker: log only real dlerrors 2017-03-28 11:15:47 -07:00
ld.config.format.md Load namespace configuration from ld.config.txt 2017-03-24 15:50:45 -07:00
linked_list.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker.cpp Refactor sanitized library on-disk layout - bionic. 2017-03-30 20:07:50 -07:00
linker.h Replace public library list with shared lib sonames (part 2/2) 2017-02-09 23:26:44 -08:00
linker_allocator.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_allocator.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_block_allocator.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_block_allocator.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_cfi.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_cfi.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_common_types.h Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
linker_config.cpp Load namespace configuration from ld.config.txt 2017-03-24 15:50:45 -07:00
linker_config.h Load namespace configuration from ld.config.txt 2017-03-24 15:50:45 -07:00
linker_debug.h libc: __system_property_set uses writev to write atomically 2017-02-24 14:00:04 -08:00
linker_dlwarning.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_dlwarning.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_gdb_support.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_gdb_support.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_globals.cpp Extract soinfo and globals to separate files. 2016-08-08 16:12:53 -07:00
linker_globals.h linker: log only real dlerrors 2017-03-28 11:15:47 -07:00
linker_libc_support.c Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_libcxx_support.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_logger.cpp Cope with argv[0] being null in the dynamic linker. 2017-02-22 17:37:52 -08:00
linker_logger.h Add systrace output for dlopen calls 2017-03-20 13:34:52 -07:00
linker_main.cpp Merge "Load namespace configuration from ld.config.txt" 2017-03-25 05:17:32 +00:00
linker_main.h Load namespace configuration from ld.config.txt 2017-03-24 15:50:45 -07:00
linker_mapped_file_fragment.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_mapped_file_fragment.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_memory.cpp linker_memory: allow fallback allocator to be turned on and off. 2017-03-08 16:43:59 -08:00
linker_mips.cpp linker: fix mips build 2016-08-09 06:58:55 -07:00
linker_namespaces.cpp Do not use std::vector in android_namespace_t::is_accessible 2017-02-13 11:25:49 -08:00
linker_namespaces.h Load namespace configuration from ld.config.txt 2017-03-24 15:50:45 -07:00
linker_phdr.cpp Runtime support for CFI 2017-01-18 13:13:52 -08:00
linker_phdr.h Check alignment along with range of mapped file fragments 2016-08-10 10:52:55 -07:00
linker_reloc_iterators.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_relocs.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_sdk_versions.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_sleb128.h Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_soinfo.cpp Add systrace output for dlclose/dlsym calls 2017-03-21 10:38:23 -07:00
linker_soinfo.h Replace public library list with shared lib sonames (part 2/2) 2017-02-09 23:26:44 -08:00
linker_utils.cpp Extract format_string function. 2017-03-13 16:25:51 -07:00
linker_utils.h Load namespace configuration from ld.config.txt 2017-03-24 15:50:45 -07:00
MODULE_LICENSE_BSD Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
rt.cpp More dynamic linker cleanup. 2012-10-30 16:35:38 -07:00