http://sourceware.org/bugzilla/show_bug.cgi?id=12854
Summary: ARM: Nonsensical argument shift specifications accepted for LSL/LSR/ASR/ROR mnemonics Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassig...@sources.redhat.com ReportedBy: dave.mar...@linaro.org gas accepts a trailing ", <shift-op> <register-or-immediate>" for LSL/LSR/ASR/ROR instructions, but this is invalid syntax. The shift specification appears to be ignored, with no effect on the assembly; rather, this trailing junk should be rejected with an error: Observed on trunk, 20110606: binutils$ gas/as-new -o tst.o <<EOF && arm-linux-gnueabi-objdump -d tst.o asr r0, r1, r2, ror #5 ror r0, r1, r2, lsl r3 EOF tst.o: file format elf32-littlearm Disassembly of section .text: 00000000 <.text>: 0: e1a00251 asr r0, r1, r2 4: e1a00271 ror r0, r1, r2 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils