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: RFC: Add GNU_PROPERTY_NEED_PHDRS


On Thu, Oct 04, 2018 at 12:12:17PM -0700, H.J. Lu wrote:
> On Thu, Oct 4, 2018 at 10:16 AM Rich Felker <dalias@libc.org> wrote:
> > Can you elaborate on what would go wrong with them? AIUI they can't
> > remove anything from segments; they can only remove non-loaded
> > sections. (I found this out the hard way a long time ago trying to get
> > strip to remove unneeded .eh_frame)
> 
> Sorry.  I don't remember the details.

One difficulty is what to put in p_vaddr and p_paddr of a segment
without sections.  I'm working on a linker/bfd solution that doesn't
require a note section.

-- 
Alan Modra
Australia Development Lab, IBM


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