[patch][gold] Fix R_ARM_TLS_LE32 when there is no TLS segment

Ian Lance Taylor iant@google.com
Wed May 26 23:41:00 GMT 2010


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



More information about the Binutils mailing list