From 5dd15031dd5eb5694732e25f7e5838b53a45db67 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 3 Jan 2008 20:19:29 +0000 Subject: [PATCH] * config/tc-i386.c (process_drex): Initialize modrm_reg and modrm_regmem to 0 instead of None. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 6e74012d07a..6571f4c2057 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-01-03 Jakub Jelinek + + * config/tc-i386.c (process_drex): Initialize modrm_reg and + modrm_regmem to 0 instead of None. + 2008-01-03 H.J. Lu * 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 ee98f99b560..71a0dcdcd69 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 -- 2.30.2