gold patch committed: Better handling of orphan TLS sections

Ian Lance Taylor iant@google.com
Tue Mar 23 21:08:00 GMT 2010


I committed this patch to gold to improve the handling of orphan TLS
sections, so that they at least have a fighting chance of working
correctly.

Ian


2010-03-23  Ian Lance Taylor  <iant@google.com>

	* script-sections.cc (class Orphan_section_placement): Define
	PLACE_TLS and PLACE_TLS_BSS.
	(Orphan_section_placement::Orphan_section_placement): Initialize
	new places.
	(Orphan_section_placement::find_place): Handle SHF_TLS sections.
	* testsuite/Makefile.am (check_PROGRAMS): Add tls_script_test.
	(tls_script_test_SOURCES): Define.
	(tls_script_test_DEPENDENCIES): Define.
	(tls_script_test_LDFLAGS): Define.
	(tls_script_test_LDADD): Define.
	* testsuite/Makefile.in: Rebuild.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 2948 bytes
Desc: TLS
URL: <https://sourceware.org/pipermail/binutils/attachments/20100323/eddc3c8c/attachment.bin>


More information about the Binutils mailing list