[PATCH] Revise long section names coff extension handling for PE targets, take 2.

Nick Clifton nickc@redhat.com
Wed Feb 18 17:22:00 GMT 2009


Hi Dave,

>   The first three failures all arise because on these targets, invoking "ld
> -r" on an object file creates a fully-linked executable, not another
> relocatable object.

This is an error.  If the target does not support the -r option to 
generate a relocatable object file then it should issue an error when it 
is used, not silently ignore it.

> I do not know if this means that "ld -r" is broken on those platforms, or if
> it is not supported on those platforms; once I find out, I can either XFAIL or
> skip the tests if it is not supposed to work, or leave them FAILing if it
> indicates a real bug.

In my opinion "ld -r" should work on all of these targets.  I can think 
of no good reason why it should not.

>   Given all that, OK for trunk, or shall we wait to hear from the other
> maintainers about what to do with the "ld -r" failure?

OK for trunk.

Cheers
   Nick



More information about the Binutils mailing list