This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Rewrite relro adjusting code
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 23 Apr 2015 07:43:07 +0930
- Subject: Re: Rewrite relro adjusting code
- Authentication-results: sourceware.org; auth=none
- References: <20150422135254 dot GI12627 at bubble dot grove dot modra dot org> <CAMe9rOqaOrti15brB8Pq_b9O6ONMLs0rV5+FTMF6djjF1=C-cw at mail dot gmail dot com>
On Wed, Apr 22, 2015 at 07:06:42AM -0700, H.J. Lu wrote:
> On Wed, Apr 22, 2015 at 6:52 AM, Alan Modra <amodra@gmail.com> wrote:
> > #...
> > - GNU_RELRO 0x04bd07 0x000000000024bd07 0x000000000024bd07 0x0022f9 0x0022f9 R 0x1
> > + GNU_RELRO 0x04bd17 0x000000000024bd17 0x000000000024bd17 0x0022e9 0x0022e9 R 0x1
> > #pass
>
> Does it increase memory size?
Not that I've noticed, and I can't see how it would, but please do
keep an eye open for any regressions. The above testcase change is
typical of the results when sections in the relro segment are aligned:
A decrease of padding inside the relro segment.
--
Alan Modra
Australia Development Lab, IBM