]> git.saurik.com Git - apple/libc.git/blobdiff - pthreads/pthread_machdep.h
Libc-498.1.5.tar.gz
[apple/libc.git] / pthreads / pthread_machdep.h
index 9dc0be2f2c00761480f6053922963a0247024e2f..af369c1c6249f7a5d25b2d319fa95626f964f56f 100644 (file)
@@ -135,6 +135,9 @@ _pthread_getspecific_direct(unsigned long slot)
 #elif defined(__ppc64__)
        register void **__pthread_tsd asm ("r13");
        ret = __pthread_tsd[slot + (_PTHREAD_TSD_OFFSET / sizeof(void *))];
+#elif defined(__arm__)
+       register void **__pthread_tsd asm ("r9");
+       ret = __pthread_tsd[slot + (_PTHREAD_TSD_OFFSET / sizeof(void *))];
 #else
 #error no pthread_getspecific_direct implementation for this arch
 #endif