VMA section overlap warnings for overlays

H.J. Lu hjl.tools@gmail.com
Thu Jul 15 14:26:00 GMT 2010


On Thu, Jul 15, 2010 at 7:17 AM, Alan Modra <amodra@gmail.com> wrote:
> 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.
>

Is that a problem when it isn't included in any segment by
objcopy/strip?


-- 
H.J.



More information about the Binutils mailing list