Module Name: src
Committed By: joerg
Date: Thu Mar 10 17:22:17 UTC 2011
Modified Files:
src/libexec/ld.elf_so: README.TLS
Log Message:
Add source reference for _lwp_makecontext and
__HAVE___LWP_GETPRIVATE_FAST. Fix enumeration.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/libexec/ld.elf_so/README.TLS
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/README.TLS
diff -u src/libexec/ld.elf_so/README.TLS:1.2 src/libexec/ld.elf_so/README.TLS:1.3
--- src/libexec/ld.elf_so/README.TLS:1.2 Thu Mar 10 14:27:31 2011
+++ src/libexec/ld.elf_so/README.TLS Thu Mar 10 17:22:17 2011
@@ -4,7 +4,8 @@
__HAVE_TLS_VARIANT_I or __HAVE_TLS_VARIANT_II.
(2) _lwp_makecontext has to set the reserved register or kernel transfer
-variable in uc_mcontext to the provided value of 'private'.
+variable in uc_mcontext to the provided value of 'private'. See
+src/lib/libc/arch/$PLATFORM/gen/_lwp.c.
This is not possible on the VAX as there is no free space in ucontext_t.
This requires either a special version of _lwp_create or versioning
@@ -53,8 +54,8 @@
e.g. starting offset is counting down from the TCB.
(6) Implement _lwp_getprivate_fast() in machine/mcontext.h and set
-__HAVE___LWP_GETPRIVATE_FAST.
+__HAVE___LWP_GETPRIVATE_FAST in machine/types.h.
-(8) Test using src/tests/lib/libc/tls. Make sure with "objdump -R" that
+(7) Test using src/tests/lib/libc/tls. Make sure with "objdump -R" that
t_tls_dynamic has two TPOFF relocations and h_tls_dlopen.so.1 and
libh_tls_dynamic.so.1 have both two DTPMOD and DTPOFF relocations.