Link problems with section anchors
Alan Modra
amodra@bigpond.net.au
Fri Aug 4 02:04:00 GMT 2006
On Thu, Aug 03, 2006 at 09:49:23PM -0400, David Edelsohn wrote:
> Alan,
>
> Why is this failing with recent Binutils but not with Janis's
> daily GCC builds, presumably with an older version of Binutils?
Some older binutils are more tolerant of references to local syms in
discarded linkone sections, resolving them to the same offset in the
kept linkonce section. Which leads to a different sort of grief
when the sections are not identical, eg. due to using different
compilation options.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list