On Thu, 2007-08-30 at 14:20 -0700, Jin Guojun wrote:
> By looking through _pthread_create() code and find it uses a magic
> cookie -- TLS -- created
> by rtld_allocate_tls(), and passed into kernel by sysarch() via
> _tcb_set() / _kcb_set().
>
> The information seems to be set by rtld (ld-elf.so
By looking through _pthread_create() code and find it uses a magic
cookie -- TLS -- created
by rtld_allocate_tls(), and passed into kernel by sysarch() via
_tcb_set() / _kcb_set().
The information seems to be set by rtld (ld-elf.so.1) in digest_phdr()
under tag PT_TLS.
But it is very magic for
2 matches
Mail list logo