aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2021-02-02 00:30:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-02 00:30:03 +0000
commit15ade069b10f7f5291e48c01db2da4852dae04b7 (patch)
treeede166a4daad75b9d7ee778a9657a984d8447aae /libc
parentbfa368860619279b606c316487f7d40e99e18601 (diff)
parentc22562ce6f40ece50c4c0de4a455d6690540e844 (diff)
downloadbionic-15ade069b10f7f5291e48c01db2da4852dae04b7.tar.gz
Merge changes from topic "builtins-exported"
* changes: Use exported variants of arm32/x86 builtins Fix -Wl,--exclude-libs typo: x86->i686
Diffstat (limited to 'libc')
-rw-r--r--libc/Android.bp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/Android.bp b/libc/Android.bp
index 8a5b2d997..1bced2e76 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -1668,11 +1668,14 @@ cc_library {
ldflags: ["-Wl,--hash-style=both"],
version_script: ":libc.arm.map",
+ no_libcrt: true,
shared: {
srcs: [":libc_sources_shared_arm"],
// special for arm
cflags: ["-DCRT_LEGACY_WORKAROUND"],
+ // For backwards-compatibility, some arm32 builtins are exported from libc.so.
+ static_libs: ["libclang_rt.builtins-arm-android-exported"],
},
// Arm 32 bit does not produce complete exidx unwind information
@@ -1698,6 +1701,12 @@ cc_library {
ldflags: ["-Wl,--hash-style=both"],
version_script: ":libc.x86.map",
+ no_libcrt: true,
+
+ shared: {
+ // For backwards-compatibility, some x86 builtins are exported from libc.so.
+ static_libs: ["libclang_rt.builtins-i686-android-exported"],
+ },
// Leave the symbols in the shared library so that stack unwinders can produce
// meaningful name resolution.