This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Use STT_TLS for all TLS symbols (even SHN_UNDEF)
- From: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: jakub at redhat dot com
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 19 Nov 2002 18:32:08 +0900
- Subject: Re: [PATCH] Use STT_TLS for all TLS symbols (even SHN_UNDEF)
- References: <20021119024504.G27455@devserv.devel.redhat.com>
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