This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Link problems with section anchors
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Steven Munroe <munroesj at us dot ibm dot com>, Richard Sandiford <richard at codesourcery dot com>, binutils at sourceware dot org
- Date: Fri, 4 Aug 2006 11:34:19 +0930
- Subject: Re: Link problems with section anchors
- References: <44D2755E.9020600@us.ibm.com> <20060804013032.GB23605@bubble.grove.modra.org> <200608040149.k741nN831438@makai.watson.ibm.com>
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