commit | 08a43426a0bcbc53cd2a33b3624bc6b3f7176117 | [log] [tgz] |
---|---|---|
author | Evgeny Eltsin <eaeltsin@google.com> | Sat Oct 03 07:26:51 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Oct 03 07:26:51 2020 +0000 |
tree | ec71dd4be0fc0c7ca7917f3b2f968f2346827f07 | |
parent | 6551173d51b18d60e0009e0f38592b174c1ca5fd [diff] | |
parent | b752dd53fdf5316529fd3ee2497ac180e9d947a2 [diff] |
Merge "Mark __progname as weak for native_bridge"
diff --git a/libc/bionic/libc_init_common.cpp b/libc/bionic/libc_init_common.cpp index 01b6a42..80adbbe 100644 --- a/libc/bionic/libc_init_common.cpp +++ b/libc/bionic/libc_init_common.cpp
@@ -58,6 +58,7 @@ __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() {