This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch][gold] Fix R_ARM_TLS_LE32 when there is no TLS segment
Rafael Espindola <espindola@google.com> writes:
> A regular program will. This is a reduction from an issue in native
> client. In native client we use the linker script to provided three
> symbols:
> __tls_template_start, __tls_template_tdata_end and
> __tls_template_end. With these symbols the runtime can do the job that
> is normally done by ld.so.
I gather that native client is using a linker script which uses a
PHDRS clause. Is there any chance you can just have that linker
script have a TLS segment, even if native client isn't going to use
it?
Ian