[patch][gold] Don't put rodata and text in the same segment.
Ian Lance Taylor
iant@google.com
Wed Sep 8 23:19:00 GMT 2010
Rafael Espindola <espindola@google.com> writes:
> Attached is a new version of the rosegment patch that also generalizes
> and documents the logic for deciding if we should move forward by a
> page.
>
> 2010-09-08 Rafael Espindola <espindola@google.com>
>
> * layout.cc (Layout::attach_allocated_section_to_segment): Add support
> for --rosegment.
> (Layout::find_first_load_seg): Search all segments to find the first
> one.
> (Layout::set_segment_offsets): Generalize the decision of when to
> move forward by a page.
> * options.h (rosegment): New.
Note that I already approved the earlier patch you sent which always
moves to a new page when it sees a new segment. Can you commit that
patch and then send this one as a new diff? Thanks.
Ian
More information about the Binutils
mailing list