bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/4218] objdump on AMD64 fails to decode prefixed 0x90 opcod


From: fruffell at cs dot uwaterloo dot ca
Subject: [Bug binutils/4218] objdump on AMD64 fails to decode prefixed 0x90 opcode properly.
Date: 20 Mar 2007 14:51:43 -0000

------- Additional Comments From fruffell at cs dot uwaterloo dot ca  
2007-03-20 14:51 -------
Created an attachment (id=1633)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1633&action=view)
A test case illustrated the a rexB prefixed 0x90 instruction is not a nop.

gcc -c xchg-eax-stub.c
as xchg-eax.asm -o xchg-eax.o
gcc -o xchg-eax xchg-eax.o xchg-eax-stub.o

If you change 0x41 in the asm file to 0x90 the output will show that 0x90 is a
true nop.  With the 0x41 in the asm file, the output will show that 0x41 0x90
is not a nop.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4218

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]