platform_bionic/libdl
Jiyong Park a5f914aef1 Add bionic mount points under /bionic
This change adds following files and symlinks:

Files:
/bionic/lib[64]/lib{c|dl|m}.so
/bionic/bin/linker[64]

Symlinks:
/system/lib[64]/lib{c|dl|m}.so -> /bionic/lib[64]/lib{c|dl|m}.so
/system/bin/linker[64] -> /bionic/bin/linker[64]
/system/bin/linker_asan[64] -> /bionic/bin/linker[64]

The files serve as mount points for either the bootstrap Bionic or the
default Bionic from the runtime APEX. init does the bind-mounting during
booting.

The symlinks are there to not change the ordinary paths to the bionic
files; there are many places that the paths are implied or hard-coded,
e.g., dlopen("/system/lib/libc.so") or DT_INTERP pointing to
/system/bin/linker in the vendor prebuilts.

Bug: 120266448
Test: m blueline, cf_x86, aosp_arm
The aforementioned files and symlinks are found

Change-Id: I97e38c29409ac0610dde285db8df6e94a7930094
2019-01-31 13:44:20 +09:00
..
Android.bp Add bionic mount points under /bionic 2019-01-31 13:44:20 +09:00
libdl.cpp Move API levels from uint32_t to int. 2018-11-13 21:25:07 -08:00
libdl.map.txt Add stubs variants for bionic libs 2019-01-04 22:29:36 +09:00
libdl_cfi.cpp [cfi] Fix __cfi_check address calculation. 2017-09-15 14:15:54 -07:00
libdl_static.cpp Support getting/setting API level in static binaries. 2018-04-03 21:53:29 -07:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00