[commit] x86: minor Intel syntax disassembly adjustment

Jan Beulich JBeulich@novell.com
Thu Dec 8 11:26:00 GMT 2005


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-mainline-x86-disasm-intel-st.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20051208/40799b18/attachment.ksh>


More information about the Binutils mailing list