Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: libpthread/pthread_internal.c
- ===================================================================
- RCS file: /cvs/dietlibc/libpthread/pthread_internal.c,v
- retrieving revision 1.24
- diff -u -p -r1.24 pthread_internal.c
- --- libpthread/pthread_internal.c 21 Feb 2014 10:03:29 -0000 1.24
- +++ libpthread/pthread_internal.c 6 Feb 2016 23:13:53 -0000
- @@ -21,7 +21,7 @@
- #include <stdio.h>
- #endif
- -#ifdef WANT_TLS
- +#if defined(WANT_TLS) || defined(WANT_SSP)
- #include <sys/tls.h>
- #endif
- @@ -385,6 +385,8 @@ static void* __managed_start(void*arg) {
- memcpy(me,__tdataptr,__tdatasize);
- memset(((char*)me)+__tdatasize,0,__tmemsize-__tdatasize);
- me=(tcbhead_t*)(((char*)me) + __tmemsize);
- +#else
- + );
- #endif
- __setup_tls(me);
- me->multiple_threads=1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement