Following compiles wrong:
t.s:
.syntax unified
.text
nop
arm-none-eabi -march=armv4t t.s
=> opcode 0xbf00 (thumb-2) instead of 0x46c0 (mov r8,r8)
Without ".syntax unified" the correct code is generated.
--
Summary: ARM:Wrong (thumb-2) opcode for "nop" in UAL mode
Product: binutils
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: bastian dot schick at sciopta dot com
CC: bug-binutils at gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: arm-none-eabi
http://sourceware.org/bugzilla/show_bug.cgi?id=9722
------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils