This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils (cvs) target=m68k-linux giving bad value in ld (-shared)
- To: Dave Gilbert <gilbertd at treblig dot org>
- Subject: Re: binutils (cvs) target=m68k-linux giving bad value in ld (-shared)
- From: "H . J . Lu" <hjl at gnu dot org>
- Date: Sat, 3 Mar 2001 19:33:48 -0800
- Cc: binutils at sources dot redhat dot com
- References: <Pine.LNX.4.10.10103040011110.1176-100000@tardis.home.dave>
On Sun, Mar 04, 2001 at 12:20:42AM +0000, Dave Gilbert wrote:
> Hi,
> I'm trying to create a cross build chain from Linux/Alpha to Linux/68k
> but while building gcc I hit a problem in which the cross linker gives the
> error
> /m68k-linux-ld: final link failed: Bad value
>
> This happens with the host of both Linux/Alpha and Linux/x86; as an
> example I took the .s file gcc generated for crtstuff.c, assembled with
>
> m68k-linux-as dag1.s -o crtstuff.o
>
> and then attempted a link with:
>
> m68k-linux-ld -shared -o a.so crtstuff.o
>
> and get the bad value error.
>
>
>
Please provide a small, complete testcase reproducible with cross
assembler/linker.
H.J.