[GOLD] relaxation query

Doug Kwan (關振德) dougkwan@google.com
Mon Nov 26 22:52:00 GMT 2012

Relaxation was retrofitted into layout when I did the ARM port.
Basically I assume that I have all the sections but I can repeatedly
lay them out until the layout is stabilized.  You may be able to add a
new section but you have to be very careful that the layout data
structure is consistent and the new sections are still there if layout
fails and relaxation rolls back the layout and retries.


On Mon, Nov 26, 2012 at 2:44 PM, Alan Modra <amodra@gmail.com> wrote:
> Is do_relax too late to be calling Layout::add_output_section_data?
> If I try that with a section needing a new output section, I hit
>   gold_assert(!this->is_max_align_known_);
> in Output_segment::add_output_section_to_load.
> --
> Alan Modra
> Australia Development Lab, IBM

More information about the Binutils mailing list