Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Add source reference for _lwp_makecontext and



details:   https://anonhg.NetBSD.org/src/rev/23446a6cc53a
branches:  trunk
changeset: 763131:23446a6cc53a
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Mar 10 17:22:17 2011 +0000

description:
Add source reference for _lwp_makecontext and
__HAVE___LWP_GETPRIVATE_FAST. Fix enumeration.

diffstat:

 libexec/ld.elf_so/README.TLS |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 759e27156163 -r 23446a6cc53a libexec/ld.elf_so/README.TLS
--- a/libexec/ld.elf_so/README.TLS      Thu Mar 10 17:13:13 2011 +0000
+++ b/libexec/ld.elf_so/README.TLS      Thu Mar 10 17:22:17 2011 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index