This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Fix relro problem on ARM
- From: Ian Lance Taylor <iant at google dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Binutils <binutils at sourceware dot org>, Doug Kwan <dougkwan at google dot com>
- Date: Tue, 16 Nov 2010 11:14:29 -0800
- Subject: Re: [gold patch] Fix relro problem on ARM
- References: <AANLkTinvX_3pFYPG3gZja+PjYocdGqNdrw+NHtBhMsNH@mail.gmail.com>
Cary Coutant <ccoutant@google.com> writes:
> * output.h (Output_segment::set_section_addresses): Pass increase_relro
> by reference; adjust all callers.
> * output.cc (Output_segment::set_section_addresses): Adjust references
> to increase_relro. Add padding to *increase_relro when ORDER_RELRO_LAST
> list is empty.
> (Output_segment::set_offset): Assert if PT_GNU_RELRO segment does not
> end at page boundary.
This is OK.
Thanks.
Ian