[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/13668] x86: objdump gets the wrong length for 66-prefixed
From: |
address@hidden |
Subject: |
[Bug binutils/13668] x86: objdump gets the wrong length for 66-prefixed direct jumps in 64-bit mode |
Date: |
Fri, 10 Feb 2012 17:08:55 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13668
--- Comment #2 from Mark Seaborn <address@hidden> 2012-02-10 17:08:55 UTC ---
Yes, you're right. I was testing on an Intel machine. When I tested on an AMD
machine, it produced:
$ gcc test.c -o test -m64 && ./test
operand size is 2 bytes
It looks like Intel failed to copy AMD in this regard. The Intel docs
implicitly acknowledge this and say that the behaviour of this instruction is
not specified.
Ideally objdump's disassembler would treat this byte sequence as undefined.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.