gold patch committed: Add --section-start

Ian Lance Taylor
Wed Jan 6 22:38:00 GMT 2010

I committed this patch to gold to add the --section-start option.


2010-01-06  Ian Lance Taylor  <>

	PR 10980
	* (General_options::parse_section_start): New function.
	(General_options::section_start): New function.
	(General_options::General_options): Initialize all members.
	* options.h: Include <map>
	(class General_options): Add --section-start.  Add section_starts_
	* (Layout::attach_allocated_section_to_segment): If
	--section-start was used, set the address of the segment.  Remove
	local sort_sections.
	(Layout::relaxation_loop_body): If the address of the load segment
	has been set by --section-start, don't use it.
	* output.h (Output_segment::update_flags_for_output_section): New
	* (Output_segment::add_output_section): Call

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 8751 bytes
Desc: section-start
URL: <>

More information about the Binutils mailing list