[Bug gas/9722] New: ARM:Wrong (thumb-2) opcode for "nop" in UAL mode
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 bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
gas 2.18.50: Wrong opcode for "nop"
Hi, gas 2.18.50 (CodeSourcery 2008q3) produces the Thumb-2 opcode for nop even if v4t is selected: .syntax unified .text nop Assembled with: arm-none-eabi-as -march=armv4t t.S -o t.o Objectcode is 0xbf00 instead of 0x46c0 (mov r8,r8). Regards, -- 42Bastian Schick -- -- Bastian Schick -- -- Sciopta Systems GmbH -- -- Hauptstr. 293-- -- 79576 Weil am Rhein -- -- Germany -- -- Geschäftsführer: Roland Lips -- -- Handelsregister: -- -- Amtsgericht Lörrach HRB3430 -- -- UStldNr.: DE227227729-- -- ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils