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

Rafael Espindola espindola@google.com
Thu May 20 19:52:00 GMT 2010

Can I piggyback another related fix? Arm_output_data_got had the same
assumption about we always having a tls segment.

2010-05-20  Rafael Espindola  <espindola@google.com>

	* arm.cc (relocated_section): New.
	(Arm_output_data_got<big_endian>::do_write): Use
	relocated_section and Layout::tls_section.
	* layout.cc (Layout::Layout): Initialize tls_section_.
	(Layout::compute_tls_section): New.
	* layout.h (Layout::tls_section, Layout::compute_tls_section)
	(Layout::tls_section_): New.

Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gold-tls.patch
Type: text/x-diff
Size: 5725 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100520/ebf68f75/attachment.bin>

More information about the Binutils mailing list