This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, this patch adds simple (no __thread, no TLS) thread register support to glibc. It's been running for over a month now here without a single problem. I've flagged it RFC, cause I want to make sure this doesn't ABI conflict with any __thread or TLS work-in-progress. Franz. 2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise. linuxthreads/ * sysdeps/powerpc/Makefile: Handle tcb-offsets.sym. * sysdeps/powerpc/tcb-offsets.sym: New file. * sysdeps/powerpc/tls.h: New file. * sysdeps/powerpc/powerpc32/pt-machine.h (FLOATING_STACKS): Define. (ARCH_STACK_MAX_SIZE): Define. (THREAD_SELF): Define. (INIT_THREAD_SELF): Define. (THREAD_GETMEM): Define. (THREAD_GETMEM_NC): Define. (THREAD_SETMEM): Define. (THREAD_SETMEM_NC): Define. (__thread_self): Declare. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Adjust for thread register.
Attachment:
glibc-ppc32-thread-register-1.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |