bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/m68k] parse error with m68k-aout targets


From: Gunther Nikl
Subject: [Bug gas/m68k] parse error with m68k-aout targets
Date: Thu, 24 Nov 2005 12:18:22 +0100
User-agent: Mutt/1.4.2.1i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]