[Bug gas/9722] New: ARM:Wrong (thumb-2) opcode for "nop" in UAL mode

2009-01-08 Thread bastian dot schick at sciopta dot com
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

gas 2.18.50: Wrong opcode for "nop"

2009-01-08 Thread 42Bastian Schick
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 -