summaryrefslogtreecommitdiff
path: root/linker/linker.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-07-21 11:57:09 -0700
committerElliott Hughes <enh@google.com>2015-07-21 11:57:09 -0700
commitd29486343a66cae37fc4fc74ed206fd29f25476b (patch)
tree9b18ae43784916a8228362e06ebb6f308358374a /linker/linker.cpp
parentc99fabb7a097e9aeed49ce03584cce113d086905 (diff)
Use a less misleading name for the code that sets up the main thread.
Change-Id: I50c1b0a3b633cf8bc40a6bd86f12adb6b91e2888
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r--linker/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 73eeba17b..0718efcd7 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -3465,7 +3465,7 @@ extern "C" ElfW(Addr) __linker_init(void* raw_args) {
_exit(EXIT_FAILURE);
}
- __libc_init_tls(args);
+ __libc_init_main_thread(args);
// Initialize the linker's own global variables
linker_so.call_constructors();