On Wed, 11 Apr 2007, Michael Schmitz wrote:
I tried to add m68k patches for 2.6.20 to the debian linux-2.6 package, but
compilation fails here:
AS arch/m68k/math-emu/fp_scan.o
arch/m68k/math-emu/fp_scan.S: Assembler messages:
arch/m68k/math-emu/fp_scan.S:67: Error: Unknown operator -- statement `getuser.b (%a0),%d0,fp_err_ua1,%a0' ignored
arch/m68k/math-emu/fp_scan.S:75: Error: Unknown operator -- statement `getuser.l (%a0)+,%d2,fp_err_ua1,%a0' ignored
arch/m68k/math-emu/fp_scan.S:194: Error: Unknown operator -- statement `getuser.l (%a1),%a1,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:194: Error: Unknown operator -- statement `getuser.l (%a1),%a1,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:255: Error: Unknown operator -- statement `getuser.l (%a1),%d0,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:260: Error: Unknown operator -- statement `getuser.l (%a1),%d0,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:265: Error: Unknown operator -- statement `getuser.l (%a1)+,%d0,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:270: Error: Unknown operator -- statement `getuser.l (%a1)+,%d0,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:272: Error: Unknown operator -- statement `getuser.l (%a1),%d0,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:282: Error: Unknown operator -- statement `getuser.w (%a1),%d0,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:292: Error: Unknown operator -- statement `getuser.b (%a1),%d0,fp_err_ua1,%a1' ignored
arch/m68k/math-emu/fp_scan.S:468: Error: Unknown operator -- statement `getuser.l (%a0),%d0,fp_err_ua1,%a0' ignored
Didn't we have this before, and didn't we have a fix for this? There were
Yep, sounds familiar. Does m68k CVS also trigger this error?
patches by Al Viro a couple of times already, why is it "unfixed" again? Or
do people use a different as than I do?
Different compiler/binutils?
Mainline has this difference w.r.t. CVS:
--- linux-m68k-cvs-2.6.x/include/asm-m68k/math-emu.h 2004-07-11 12:18:05.000000000 +0200
+++ linux-m68k-2.6.21-rc6/include/asm-m68k/math-emu.h 2007-04-08 11:27:14.000000000 +0200
@@ -226,6 +226,21 @@ extern unsigned int fp_debugprint;
.previous
.endm
+/* work around binutils idiocy */
+old_gas=-1
+.irp gas_ident.x .x
+old_gas=old_gas+1
+.endr
+.if !old_gas
+.irp m b,w,l
+.macro getuser.\m src,dest,label,addr
+ getuser .\m,\src,\dest,\label,\addr
+.endm
+.macro putuser.\m src,dest,label,addr
+ putuser .\m,\src,\dest,\label,\addr
+.endm
+.endr
+.endif
.macro movestack nr,arg1,arg2,arg3,arg4,arg5
.if \nr
But it would be funny if this change would break older binutils...
My current 2.6.21-rc6 does compile with binutils 2.17 (from Debian).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html