This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix relro strip test for MIPS
On Thu, Sep 20, 2007 at 04:02:12PM +0930, Alan Modra wrote:
> On Wed, Sep 19, 2007 at 11:14:13AM -0700, H.J. Lu wrote:
> > I believe Alan checked in a patch to remove PT_NULL segment.
>
> I did commit a patch to remove empty PT_LOAD segments, but I don't
> recall doing anything with PT_NULL segments.
>
What happens is linker will allocate a segment for PT_GNU_RELRO
if there is a .dynamic section. But it doesn't work for MIPS.
Is there a way for linker to remove a segment reserved for
PT_GNU_RELRO?
H.J.