This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Remove and replace { "(bad)", { XX } }
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Sun, 24 Jan 2010 12:40:13 -0800
- Subject: Re: PATCH: Remove and replace { "(bad)", { XX } }
- References: <20100124182558.GA10900@lucon.org>
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
On Sun, Jan 24, 2010 at 10:25:58AM -0800, H.J. Lu wrote:
> Hi,
>
> I checked in this patch to remove trailing "(bad)" entries and replace
> { "(bad)", { XX } } with { Bad_Opcode }.
>
>
I missed one. Fixed it.
H.J.
---
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 971e6cd..a3bcd69 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
+ * i386-dis.c (prefix_table): Remove trailing { Bad_Opcode }.
+
+2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
+
* i386-dis.c (Bad_Opcode): New.
(bad_opcode): Likewise.
(dis386): Replace { "(bad)", { XX } } with { Bad_Opcode }.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index df012e4..b8e65c3 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -5260,7 +5260,6 @@ static const struct dis386 prefix_table[][4] = {
{ Bad_Opcode },
{ Bad_Opcode },
{ VEX_LEN_TABLE (VEX_LEN_3ADF_P_2) },
- { Bad_Opcode },
},
};