From 5987b6824359fa2a8b3ba715f1bdfab141c8d8c3 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 28 Jul 2014 00:25:24 -0400 Subject: prepare pthread_create.c for cherry-picking from master this change is harmless and allows commit a6adb2bcd8145353943377d6119c1d7a4242bae1 to apply without conflicts. --- src/thread/pthread_create.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index ee6c31c4..f60cd4a3 100644 --- a/src/thread/pthread_create.c +++ b/src/thread/pthread_create.c @@ -110,6 +110,8 @@ static int start(void *p) /* pthread_key_create.c overrides this */ static const size_t dummy = 0; weak_alias(dummy, __pthread_tsd_size); +static void *const dummy_tsd[1] = { 0 }; +weak_alias(dummy_tsd, __pthread_tsd_main); static FILE *const dummy_file = 0; weak_alias(dummy_file, __stdin_used); -- cgit v1.2.1