diff options
author | Evgeny Eltsin <eaeltsin@google.com> | 2020-10-03 07:26:51 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-10-03 07:26:51 +0000 |
commit | 08a43426a0bcbc53cd2a33b3624bc6b3f7176117 (patch) | |
tree | ec71dd4be0fc0c7ca7917f3b2f968f2346827f07 | |
parent | 6551173d51b18d60e0009e0f38592b174c1ca5fd (diff) | |
parent | b752dd53fdf5316529fd3ee2497ac180e9d947a2 (diff) | |
download | bionic-08a43426a0bcbc53cd2a33b3624bc6b3f7176117.tar.gz |
Merge "Mark __progname as weak for native_bridge"ndk-r22-beta1ndk-r22ndk-release-r22
-rw-r--r-- | libc/bionic/libc_init_common.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/bionic/libc_init_common.cpp b/libc/bionic/libc_init_common.cpp index 01b6a42f0..80adbbe8e 100644 --- a/libc/bionic/libc_init_common.cpp +++ b/libc/bionic/libc_init_common.cpp @@ -58,6 +58,7 @@ extern "C" void scudo_malloc_set_pattern_fill_contents(int); __LIBC_HIDDEN__ WriteProtected<libc_globals> __libc_globals; // Not public, but well-known in the BSDs. +__BIONIC_WEAK_VARIABLE_FOR_NATIVE_BRIDGE const char* __progname; void __libc_init_globals() { |