Fix for unexpected failure in ld-cris/warn3

Hans-Peter Nilsson hp@bitrange.com
Tue Mar 1 16:57:00 GMT 2005


On Tue, 1 Mar 2005, Nick Clifton wrote:

> Hi Guys,
>
>   I am applying the patch below to remove an unexpected warning from
>   the linker testsuite for the cris-elf target.

I don't see warnings in my regression tests.  Please specify.

>  It appears that the
>   ld-cris/warn[34].d files were intended to be different versions of
>   the same test, one for ELF based ports and one for AOUT.
>   Unfortunately the code discriminate between them was not working and
>   this patch fixes that.

No, it seems to just paper over whatever problem there might be.
The as and ld options should take care of the differences; both
a.out and ELF formats are supported by both toolchains; defaults
are different.

Please revert and elaborate.

brgds, H-P



More information about the Binutils mailing list