summaryrefslogtreecommitdiffstats
path: root/libc/bionic
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-04-15 23:27:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-15 23:27:38 +0000
commitc6ccdfaf1ff4665ec96962863054263510d73e7b (patch)
tree0377a161a2d6745f88c73bd6474916efb1dcaa99 /libc/bionic
parentcafc948069d447aa1e4dde599ee83bf6c0c5d5d8 (diff)
parent66aa0b61f736678e97a0cfaf975052881a23651b (diff)
downloadbionic-c6ccdfaf1ff4665ec96962863054263510d73e7b.zip
bionic-c6ccdfaf1ff4665ec96962863054263510d73e7b.tar.gz
bionic-c6ccdfaf1ff4665ec96962863054263510d73e7b.tar.bz2
Merge "Hide emutls* symbols in libc.so"
Diffstat (limited to 'libc/bionic')
-rw-r--r--libc/bionic/__cxa_thread_atexit_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/__cxa_thread_atexit_impl.cpp b/libc/bionic/__cxa_thread_atexit_impl.cpp
index 9ae6dfd..0e427d3 100644
--- a/libc/bionic/__cxa_thread_atexit_impl.cpp
+++ b/libc/bionic/__cxa_thread_atexit_impl.cpp
@@ -22,7 +22,7 @@ struct thread_local_dtor {
thread_local_dtor* next;
};
-__thread thread_local_dtor* thread_local_dtors = nullptr;
+static __thread thread_local_dtor* thread_local_dtors = nullptr;
extern "C" int __cxa_thread_atexit_impl(void (*func) (void *), void *arg, void *dso_handle) {
thread_local_dtor* dtor = new thread_local_dtor();