From b7c80232456bf4ef9cc052b99d34e72cb1473972 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Thu, 29 Dec 2005 21:04:14 +0000 Subject: [PATCH] * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf. --- gas/ChangeLog | 4 ++++ gas/config/tc-xtensa.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 5ca1092a927..17bdc829cba 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-12-29 Sterling Augustine + + * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf. + 2005-12-27 Nathan Sidwell * 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 aabe5e0961c..9cc8cc4e0ba 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")); -- 2.30.2