This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix linkonce for ELF/PPC.
Alan Modra <amodra@bigpond.net.au> writes:
> On Tue, Nov 06, 2001 at 09:42:23AM -0800, Ian Lance Taylor wrote:
> > Alan Modra <amodra@bigpond.net.au> writes:
> >
> > > Looking at .rela.eh_frame in the bad libstdc++, I see a bunch of
> > > RELATIVE relocs, none of which should cause problems, ADDR32 relocs
> > > against __gxx_personality_v0, again no problem, and some NONE relocs.
> > > These are the infamous relocs against removed linkonce sections.
> >
> > Why can't we just remove those relocs? Why do we convert them into
> > NONE relocs?
>
> Because space for the relocs in the output section has already been
> allocated.
Well, then, there's the problem.
Ian