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: Fix relro strip test for MIPS


On Thu, Sep 20, 2007 at 02:07:51PM -0400, Daniel Jacobowitz wrote:
> On Thu, Sep 20, 2007 at 10:57:25AM -0700, H.J. Lu wrote:
> > 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?
> 
> Not and reclaim its space.  That's why we convert it to PT_NULL.
> 

That was done before Alan wrote a patch to remove the empty PT_LOAD
segment. Maybe we can use the similar approach to remove empty
PT_GNU_RELRO segment.


H.J.


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