PATCH: PR ld/12277: Linker error: "final link failed: Nonrepresentable section on output"

Dave Korn dave.korn.cygwin@gmail.com
Wed Feb 9 14:40:00 GMT 2011


(Back after a couple of days offline due to a motherboard blow-out...)

On 07/02/2011 01:36, Alan Modra wrote:
> On Sat, Feb 05, 2011 at 06:21:42AM -0800, H.J. Lu wrote:
>> On Fri, Feb 4, 2011 at 6:07 PM, Alan Modra <amodra@gmail.com> wrote:
>>> On Thu, Feb 03, 2011 at 06:20:03AM +0000, Dave Korn wrote:
>>>> -  abfd = bfd_create (concat (name, IRONLY_SUFFIX, (const char *)NULL),
>>>> -                  srctemplate);
>>>> +  abfd = bfd_create (name, srctemplate);
>>> For the sake of error messages like the one in
>>> http://sourceware.org/ml/binutils/2011-02/msg00037.html, I think it
>>> would be better to keep the name suffix.  The change to
>>> is_ir_dummy_bfd is OK to commit.
>>>
>> That is a linker error, which is intended for linker developers.
> 
> I was thinking of both bug reports and developers when I suggested
> keeping the suffix.
> 
>> I don't think a suffix makes a big difference here.
> 
> True.

  I think it might be nice to change it to something human-readable, now that
it's not being used as a discriminator any more.  What do you two think about
something like

#define IRONLY_SUFFIX		" (symbol from plugin)"

... that?

    cheers,
      DaveK



More information about the Binutils mailing list