This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils (cvs) target=m68k-linux giving bad value in ld (-shared)


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   |_______/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]