This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] x86: minor Intel syntax disassembly adjustment


While st(0) ... st(7) were properly printed without prefix in Intel
mode
disassembly, st alone wasn't.

Built and tested on i686-pc-linux-gnu and x86_64-unknown-linux-gnu.

Jan

opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

	* i386-dis.c (OP_ST): Remove prefix in Intel mode.

---
/home/jbeulich/src/binutils/mainline/2005-12-08/opcodes/i386-dis.c	2005-12-08
11:37:24.000000000 +0100
+++ 2005-12-08/opcodes/i386-dis.c	2005-12-08 11:28:46.000000000
+0100
@@ -2725,7 +2728,7 @@ dofloat (int sizeflag)
 static void
 OP_ST (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED)
 {
-  oappend ("%st");
+  oappend ("%st" + intel_syntax);
 }
 
 static void

Attachment: binutils-mainline-x86-disasm-intel-st.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]