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]

Re: [patch][gold] Don't put rodata and text in the same segment.


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


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