Link error with new elf2flt

Amadeus amadeus at iksw-muees.de
Tue Jul 24 13:13:48 CEST 2007


Stsp,

your link error linking links can be cured by:

--- dslinux-toolchain_404/arm-linux-elf/bin/ld	2007-07-23 
22:18:58.000000000 +0200
+++ dslinux-toolchain/arm-linux-elf/bin/ld	2007-07-24 13:10:07.000000000 
+0200
@@ -157,7 +157,9 @@
 
 		if [ "yes" = "yes" ]
 		then
-		 $LINKER $EMUL $SDIRS -T $LDSCRIPT -q -o "$OFILE.gdb" 
$ARG1             ||exit $?
+		 $LINKER $EMUL -r -d -o "$OFILE.elf2flt" 
$ARG1                          ||exit $?
+		 $LINKER $EMUL $SDIRS -T 
$LDSCRIPT -q -o "$OFILE.gdb" "$OFILE.elf2flt"  ||exit $?
+		 rm -f "$OFILE.elf2flt"
 		 RFILE="$OFILE.gdb"
 		 FLTFLAGS="$FLTFLAGS -a"
 		else

-- 
We're back to the times when men were men 
and wrote their own device drivers.

(Linus Torvalds)



More information about the dslinux-devel mailing list