aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-09-15 18:41:24 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-09-15 18:41:24 +0000
commit1acf546ea5a0a65be516aefe252bcf7f2daaccb3 (patch)
tree1809595513d75dbcb2b3eb179f103e7cc202a357 /gas/config
parent05203043766029ac32e5faded4ea116b94e9e0ac (diff)
downloadgdb-1acf546ea5a0a65be516aefe252bcf7f2daaccb3.zip
gdb-1acf546ea5a0a65be516aefe252bcf7f2daaccb3.tar.gz
gdb-1acf546ea5a0a65be516aefe252bcf7f2daaccb3.tar.bz2
gas/
2009-09-15 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386-intel.c (i386_intel_operand): Initialize intel_state.has_offset to 0. gas/testsuite/ 2009-09-15 H.J. Lu <hongjiu.lu@intel.com> * 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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386-intel.c1
1 files changed, 1 insertions, 0 deletions
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;