Pthread patches for TLS
dfr at nlsystems.com
Fri Aug 6 01:26:50 PDT 2004
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.
More information about the freebsd-threads