This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: VMA section overlap warnings for overlays
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Andreas Schwab <schwab at redhat dot com>, David Stubbs <stubbs at icerasemi dot com>, binutils at sourceware dot org
- Date: Thu, 15 Jul 2010 23:47:53 +0930
- Subject: Re: VMA section overlap warnings for overlays
- References: <20100421082441.GG3510@bubble.grove.modra.org> <4D60B0700D1DB54A8C0C6E9BE69163700E7815C7@EXCHANGEVS.IceraSemi.local> <20100422011106.GI3510@bubble.grove.modra.org> <20100422015303.GK3510@bubble.grove.modra.org> <4D60B0700D1DB54A8C0C6E9BE69163700E7F2F15@EXCHANGEVS.IceraSemi.local> <20100424021750.GQ3510@bubble.grove.modra.org> <m37hkxxizs.fsf@hase.home> <20100715130955.GH31087@bubble.grove.modra.org> <m3lj9cx3gr.fsf@hase.home> <AANLkTikCxGTUKa9ovu7sqxD6S3dTY766X1WM-oRrm5Ek@mail.gmail.com>
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