[PATCH] Use STT_TLS for all TLS symbols (even SHN_UNDEF)

kaz Kojima kkojima@rr.iij4u.or.jp
Tue Nov 19 01:57:00 GMT 2002


Jakub Jelinek <jakub@redhat.com> wrote:
>> With this change, my new gas for x86 complains like
>> 
>> /tmp/ccgvoVqe.s:180: Error: Accessing `foo' as thread-local object
>> /tmp/ccgvoVqe.s:180: Error: Accessing `foo' as thread-local object
>> 
>> when compiling libc/elf/tst-tlsmod1.c with enabling tls. Doesn't
>> it happen to you?
> 
> Have you changed SH gas to call SET_THREAD_LOCAL on all the symbols used
> by TLS relocations?

I've done nothing for SH yet. The above is the i386 gas case.

Regards,
	kaz



More information about the Binutils mailing list