From 1acf546ea5a0a65be516aefe252bcf7f2daaccb3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 15 Sep 2009 18:41:24 +0000 Subject: gas/ 2009-09-15 H.J. Lu * config/tc-i386-intel.c (i386_intel_operand): Initialize intel_state.has_offset to 0. gas/testsuite/ 2009-09-15 H.J. Lu * gas/i386/disp.s: Add an offset test. * gas/i386/x86-64-disp.s: Likewise. * gas/i386/intelbad.s: Comment out "byte ptr [1]" test. * gas/i386/disp.d: Updated. * gas/i386/disp-intel.d: Likewise. * gas/i386/intelbad.l: Likewise. * gas/i386/x86-64-disp.d: Likewise. * gas/i386/x86-64-disp-intel.d: Likewise. --- gas/config/tc-i386-intel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gas/config') diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c index 0c37e45..5d5e0c1 100644 --- a/gas/config/tc-i386-intel.c +++ b/gas/config/tc-i386-intel.c @@ -466,6 +466,7 @@ i386_intel_operand (char *operand_string, int got_a_float) /* Initialize state structure. */ intel_state.op_modifier = O_absent; intel_state.is_mem = 0; + intel_state.has_offset = 0; intel_state.base = NULL; intel_state.index = NULL; intel_state.seg = NULL; -- cgit v1.1