This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]