From 6f74c397defce90b9323316d756b32d9373b874c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 9 Mar 2007 23:22:31 +0000 Subject: [PATCH] 2007-03-09 H.J. Lu * i386-dis.c (OP_Rd): Renamed to ... (OP_R): This. (Rd): Updated. (Rm): Likewise. --- opcodes/ChangeLog | 7 +++++++ opcodes/i386-dis.c | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4257a5ad0e..b0557a98c0 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,10 @@ +2007-03-09 H.J. Lu + + * i386-dis.c (OP_Rd): Renamed to ... + (OP_R): This. + (Rd): Updated. + (Rm): Likewise. + 2007-03-08 Alan Modra * fr30-asm.c: Regenerate. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 0a3443a688..526627afc9 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -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 *info, bfd_byte *addr) #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 sizeflag ATTRIBUTE_UNUSED) } static void -OP_Rd (int bytemode, int sizeflag) +OP_R (int bytemode, int sizeflag) { if (mod == 3) OP_E (bytemode, sizeflag);