This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: input-section-spec-fix.patch
Description: input-section-spec-fix.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]