[patch][gold] Fix R_ARM_TLS_LE32 when there is no TLS segment
Thu May 20 17:14:00 GMT 2010
The attached patch fixes R_ARM_TLS_LE32 relocations when there is no TLS
segment. This can happen with linker scripts. I think the old code was
also wrong in the case we have a .tbss and a .tdata section. The relocations
would be correct for the section with the largest address, but not for the
2010-05-20 Rafael Espindola <email@example.com>
* arm.cc (relocated_section): New.
relocated_section and Layout::tls_section.
* layout.cc (Layout::Layout): Initialize tls_section_.
* layout.h (Layout::tls_section, Layout::compute_tls_section,
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4932 bytes
Desc: not available
More information about the Binutils