Alan Modra amodra@gmail.com
Fri Oct 5 00:01:00 GMT 2018

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

More information about the Binutils mailing list