Gas incorrectly assembles the ARM Thumb2 instruction SEV.W to F3AF9004, which corresponds with a branch B.W instruction. It should be F3AF8004.
For example: $ echo -e ".code 16\n .syntax unified\n sev.w" | arm-elf-as -aln -EB -o /dev/null 1 .code 16 2 .syntax unified 3 0000 F3AF9004 sev.w -- Summary: Wrong machine code for the Thumb2 instruction SEV.W Product: binutils Version: 2.19 Status: NEW Severity: normal Priority: P3 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: anthony dot fox at cl dot cam dot ac dot uk CC: bug-binutils at gnu dot org GCC host triplet: i386-redhat-linux GCC target triplet: arm-elf http://sourceware.org/bugzilla/show_bug.cgi?id=10186 ------- 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