This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/12277: Linker error: "final link failed: Nonrepresentable section on output"
On 01/02/2011 21:28, H.J. Lu wrote:
> On Tue, Feb 1, 2011 at 1:50 PM, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
>> On 01/02/2011 21:18, H.J. Lu wrote:
>>> It may work. But do you really need IRONLY_SUFFIX and
>>> IRONLY_SUFFIX_LEN?
>> Perhaps not, but that's orthogonal; let's separate the two issues. (Also,
>> it would still be nice if we could perhaps avoid changing bfd but find some
>> other way to recognize an IR dummy BFD when we see one; I'm not certain
>> whether that's possible yet though.)
>>
>
> Not really orthogonal. Current way for checking IR dummy BFD is
> very expensive and unnecessary. It should be fixed first.
As an alternative to adding a flag in BFD, we could equally just keep a hash
table of IR-only BFDs in ld/plugin.c and recognise them that way instead.
What do you think?
cheers,
DaveK