This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Rename OP_Rd to OP_R
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Fri, 9 Mar 2007 15:21:09 -0800
- Subject: PATCH: Rename OP_Rd to OP_R
IA32 manual has `R' for addressing method. I am checking in this patch
to make it close to spec.
H.J.
---
2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_Rd): Renamed to ...
(OP_R): This.
(Rd): Updated.
(Rm): Likewise.
--- opcodes/i386-dis.c.R 2007-02-13 13:46:09.000000000 -0800
+++ opcodes/i386-dis.c 2007-03-09 15:11:58.000000000 -0800
@@ -80,7 +80,7 @@ static void OP_DSreg (int, int);
static void OP_C (int, int);
static void OP_D (int, int);
static void OP_T (int, int);
-static void OP_Rd (int, int);
+static void OP_R (int, int);
static void OP_MMX (int, int);
static void OP_XMM (int, int);
static void OP_EM (int, int);
@@ -227,8 +227,8 @@ fetch_data (struct disassemble_info *inf
#define Gdq { OP_G, dq_mode }
#define Gm { OP_G, m_mode }
#define Gw { OP_G, w_mode }
-#define Rd { OP_Rd, d_mode }
-#define Rm { OP_Rd, m_mode }
+#define Rd { OP_R, d_mode }
+#define Rm { OP_R, m_mode }
#define Ib { OP_I, b_mode }
#define sIb { OP_sI, b_mode } /* sign extened byte */
#define Iv { OP_I, v_mode }
@@ -5102,7 +5102,7 @@ OP_T (int dummy ATTRIBUTE_UNUSED, int si
}
static void
-OP_Rd (int bytemode, int sizeflag)
+OP_R (int bytemode, int sizeflag)
{
if (mod == 3)
OP_E (bytemode, sizeflag);