aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-01-03 20:19:29 +0000
committerJakub Jelinek <jakub@redhat.com>2008-01-03 20:19:29 +0000
commit5dd15031dd5eb5694732e25f7e5838b53a45db67 (patch)
treec5a1bbd274aac75287a1af99356afee26ecd0355
parent24995bd6e395a8484e986076ac13db324baed3d5 (diff)
downloadgdb-5dd15031dd5eb5694732e25f7e5838b53a45db67.zip
gdb-5dd15031dd5eb5694732e25f7e5838b53a45db67.tar.gz
gdb-5dd15031dd5eb5694732e25f7e5838b53a45db67.tar.bz2
* config/tc-i386.c (process_drex): Initialize modrm_reg and
modrm_regmem to 0 instead of None.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6e74012..6571f4c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-03 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-i386.c (process_drex): Initialize modrm_reg and
+ modrm_regmem to 0 instead of None.
+
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Use the xmmword field
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index ee98f99..71a0dcd 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -1,6 +1,6 @@
/* tc-i386.c -- Assemble code for the Intel 80386
Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -3948,8 +3948,8 @@ finalize_imm (void)
static void
process_drex (void)
{
- i.drex.modrm_reg = None;
- i.drex.modrm_regmem = None;
+ i.drex.modrm_reg = 0;
+ i.drex.modrm_regmem = 0;
/* SSE5 4 operand instructions must have the destination the same as
one of the inputs. Figure out the destination register and cache