Supplying shifter operands to mov will cause a silent ignore of them rather than throwing an error or treat it as pseudo instruction if applicable.
Reproduce with: .thumb mov r1, r0, lsr#24 Translation: mov r1, r0 Callstack leads to: static void do_t_mov_cmp(void) Within there appropiate handling* or at minimum breaking with error should considered. * Treating the mov as pseudo instruction and translate to lsr r1, r0, #24 or appropiate instructions for other shifter operands. -- Summary: Silently ignoring shifter arguments within mov (thumb mode) leading to wrong assembly. Product: binutils Version: 2.20 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: WolfgangSteff at gmail dot com CC: bug-binutils at gnu dot org GCC target triplet: arm-* http://sourceware.org/bugzilla/show_bug.cgi?id=10443 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils