Module Name: src Committed By: matt Date: Thu Apr 7 02:19:28 UTC 2011
Modified Files: src/lib/libc/tls: tls.c src/libexec/ld.elf_so: tls.c Log Message: Add a workaround for older crt0.o that overwrite r2 (tcb pointer). (save tcb pointer using _lwp_setprivate in ld.elf_so and retrieve the tcb via _lwp_getprivate in libc and use it to restore the value in r2). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/tls/tls.c cvs rdiff -u -r1.5 -r1.6 src/libexec/ld.elf_so/tls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.