pthread.c.arm in Android.mk means "compile pthread.c in ARM mode" so you're really looking for pthread.c
the TLS stuff is implemented in arch-arm/bionic/__get_tls.S On Tue, Aug 4, 2009 at 5:17 AM, Ouyang Jiannan <jallen....@gmail.com> wrote: > hi, everyone, > In bionic/libc/Android.mk we can see that > x86 uses files pthread.c, pthread-timers.c ptrace.c and __get_tls.c > in arm, it uses pthread.c.arm , pthread-timers.c.arm, ptrace.c.arm > But I can't find these files or places which generate it > > So what's the arm support of TLS? Is there a reg uses as gs in x86 as a > pointer to tls? > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---