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

H . J . Lu hjl@gnu.org
Sat Mar 3 19:34:00 GMT 2001


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.



More information about the Binutils mailing list