This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: fix audit testcase with IE TLS disabled (was: Re: RFC: TLSimprovements for IA32 and AMD64/EM64T)
- From: Roland McGrath <roland at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Thu, 22 Sep 2005 00:30:22 -0700 (PDT)
- Subject: Re: fix audit testcase with IE TLS disabled (was: Re: RFC: TLSimprovements for IA32 and AMD64/EM64T)
> As explained in the comment below, if we relocate ldso before setting
> up TLS, the calloc call at the end of the self relocation will either
> use uninitialized TLS (if libc uses IE) or crash because __tls_get_addr
> returns NULL.
Can you add a test case that demonstrates the failure?
Thanks,
Roland