VMA section overlap warnings for overlays

Alan Modra amodra@gmail.com
Thu Jul 15 14:18:00 GMT 2010


On Thu, Jul 15, 2010 at 06:53:39AM -0700, H.J. Lu wrote:
> On Thu, Jul 15, 2010 at 6:46 AM, Andreas Schwab <schwab@redhat.com> wrote:
> > The sh_offset of .branch_lt no longer agrees with sh_addr modulo segment
> > alignment.
> 
> What is an empty section used for?

This particular section stores addresses used by long branch stubs.
I'd be happier if it was eliminated when no long branch stubs were
needed, but that turns out to be difficult.  So unfortunately ppc64
binaries get these zero sized sections.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list