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: "H . J . Lu" <hjl at gnu dot org>
- Subject: Re: binutils (cvs) target=m68k-linux giving bad value in ld (-shared)
- From: Dave Gilbert <gilbertd at treblig dot org>
- Date: Sun, 4 Mar 2001 14:23:44 +0000 (GMT)
- cc: binutils at sources dot redhat dot com
On Sat, 3 Mar 2001, H . J . Lu wrote:
> > 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
>
> Please provide a small, complete testcase reproducible with cross
> assembler/linker.
Here we go:
$ cat dag2.s
.text
.type a,@function
a:
link.w %a6,#0
$CROSSHOME/m68k-linux-as dag2.s -o dag1.o
$CROSSHOME/m68k-linux-ld -shared -o a.so dag1.o
m68k-linux-ld: final link failed: Bad value
Dave
--
---------------- Have a happy GNU millennium! ----------------------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha, | Happy \
\ gro.gilbert @ treblig.org | 68K,MIPS,x86,ARM and SPARC | In Hex /
\ ___________________________|___ http://www.treblig.org |_______/