This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: New tests orphan2 and unknown2 fail in cris-elf
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sourceware dot org
- Date: Sun, 18 Dec 2005 22:00:40 -0800
- Subject: Re: New tests orphan2 and unknown2 fail in cris-elf
- References: <200512190432.jBJ4WLwi024425@ignucius.se.axis.com>
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.