aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-12-29 21:04:14 +0000
committerBob Wilson <bob.wilson@acm.org>2005-12-29 21:04:14 +0000
commitb7c80232456bf4ef9cc052b99d34e72cb1473972 (patch)
tree9949d5a1a1f6d43e74e1170295710aceba6ff658 /gas
parentfaaad84b0e1ba1c010ea8c146d0d561445761879 (diff)
downloadgdb-b7c80232456bf4ef9cc052b99d34e72cb1473972.zip
gdb-b7c80232456bf4ef9cc052b99d34e72cb1473972.tar.gz
gdb-b7c80232456bf4ef9cc052b99d34e72cb1473972.tar.bz2
* config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-xtensa.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5ca1092..17bdc82 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-29 Sterling Augustine <sterling@tensilica.com>
+
+ * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf.
+
2005-12-27 Nathan Sidwell <nathan@codesourcery.com>
* config/tc-mt.c (mt_arch): Default to ms1_16_002.
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index aabe5e0..9cc8cc4 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -11220,8 +11220,6 @@ tinsn_to_slotbuf (xtensa_format fmt,
int noperands = xtensa_opcode_num_operands (isa, opcode);
int i;
- *((int *) &slotbuf[0]) = 0;
- *((int *) &slotbuf[1]) = 0;
assert (tinsn->insn_type == ITYPE_INSN);
if (noperands != tinsn->ntok)
as_fatal (_("operand number mismatch"));