[PATCH][gold] Fix input sections ordering if a spec like "*(A B)" is used.

Igor Kudrin ikudrin@accesssoftek.com
Wed Jun 22 13:42:00 GMT 2016


Hi,

An input section specification with more than one name template and
without sorting instructions gathered all not yet processed input sections
within its output section during the phase of setting addresses.

Best regards,
Igor Kudrin

---
	* script-sections.cc
	(Output_section_element_input::set_section_addresses): Change
	the condition in the loop through input section patterns
	to check them all.

	* testsuite/Makefile.am (script_test_13): New test.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/script_test_13.s: New test source file.
	* testsuite/script_test_13.sh: New test script.
	* testsuite/script_test_13.t: New test linker script.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input-section-spec-fix.patch
Type: application/octet-stream
Size: 9417 bytes
Desc: input-section-spec-fix.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20160622/a125af87/attachment.obj>


More information about the Binutils mailing list