Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2004 09:26:45 +0100
From:      Doug Rabson <dfr@nlsystems.com>
To:        David Xu <davidxu@freebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: Pthread patches for TLS
Message-ID:  <200408060926.45767.dfr@nlsystems.com>
In-Reply-To: <4112C264.4040807@freebsd.org>
References:  <200408050940.36506.dfr@nlsystems.com> <200408051553.51692.dfr@nlsystems.com> <4112C264.4040807@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 06 August 2004 00:27, David Xu wrote:
> I am thinking about debugger tls support, giving a link_map address,
> how do I find a modules's tlsindex in FreeBSD ?
> Linux put a l_tls_modid to link_map.

That might be the simplest way. If you add the new field at the end of 
struct link_map, then there shouldn't be any ABI issues since rtld is 
the only thing that allocates these structures.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408060926.45767.dfr>