[parisc-linux] Q: TLS local dynamic case and zero initialized ti_offset?
Carlos O'Donell
carlos at systemhalted.org
Sat Apr 8 16:16:13 MDT 2006
Randolph,
In the local dynamic case we emit one reloc R_PARISC_TLS_DTPMOD32.
This means that at runtime there is a GOT entry with an absoluate
address which points to a tls_index structure, which has it's
ti_module filled by the dynamic loader (after processing the DTPMOD32
reloc). The question I have is, does this tls_index appear in bss? Is
the offset ti_offset initialized to zero? The zero offset is required
since we want __tls_get_addr to return the start of the modules block,
so we can subsequently offset into that block without calling
__tls_get_addr again.
Cheers,
Carlos.
More information about the parisc-linux
mailing list