Hello!

There seems to be a bug for m68k-aout targets with any binutils version
>= 2.10. The following testcase (extracted from bfd/libbfd.s output)
triggers an error message:

-- cut --
#NO_APP
.lcomm mask.0,4
_foo:
        orl (mask.0),d0
        orl d2,(mask.0)
        rts
-- cut --

Assembling with:

  ./gas/as-new bug.s -o bug.o

yields:

  gas214-bug.s: Assembler messages:
  gas214-bug.s:4: Error: parse error -- statement `orl (mask.0),d0' ignored
  gas214-bug.s:5: Error: parse error -- statement `orl d2,(mask.0)' ignored

The testcase works fine with gas 2.9.1 and for m68k-elf. Note that for ELF
a register prefix has to be added.

Regards,
Gunther Nikl


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to