New tests orphan2 and unknown2 fail in cris-elf
H. J. Lu
hjl@lucon.org
Mon Dec 19 06:00:00 GMT 2005
On Mon, Dec 19, 2005 at 05:32:21AM +0100, Hans-Peter Nilsson wrote:
> Your new tests fail for cris-axis-elf, supposedly for some other
> target too.
>
> Looking briefly, it seems orphan2 assumes a bit too much about
> section ordering. .modinfo comes before .text in orphan2.
That is a real bug. It affects all ELF linkers. This regression was
introduced by
http://sourceware.org/ml/binutils/2005-11/msg00350.html
See
http://sourceware.org/bugzilla/show_bug.cgi?id=2065
for details.
>
> unknown2 uses -shared without testing that the linker supports
> it.
That one is supposed to fail with -shared only. See
http://sourceware.org/ml/binutils/2005-11/msg00343.html
>
> Maybe using "target: *-*-linux*" is the right fix for both of
> them. Thanks.
Feel free to add "target: *-*-linux*" for unknown2.
Thanks.
H.J.
More information about the Binutils
mailing list