aboutsummaryrefslogtreecommitdiffstats
path: root/libdl
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-01-20 21:02:00 +0900
committerJiyong Park <jiyong@google.com>2019-01-31 13:44:20 +0900
commita5f914aef163e27bf49ce2c29f2cef12a131132f (patch)
tree9e2976d251f482c7a23ed8a293d3e104cde2c3e9 /libdl
parentfcb35dc4aa07239878c8ba987aff739388b0f15f (diff)
downloadandroid_bionic-a5f914aef163e27bf49ce2c29f2cef12a131132f.tar.gz
android_bionic-a5f914aef163e27bf49ce2c29f2cef12a131132f.tar.bz2
android_bionic-a5f914aef163e27bf49ce2c29f2cef12a131132f.zip
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
Diffstat (limited to 'libdl')
-rw-r--r--libdl/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdl/Android.bp b/libdl/Android.bp
index 262da6c7d..c17e72e27 100644
--- a/libdl/Android.bp
+++ b/libdl/Android.bp
@@ -105,6 +105,7 @@ cc_library {
symbol_file: "libdl.map.txt",
versions: ["10000"],
},
+ required: ["libdl.mountpoint"],
}
ndk_library {