This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Fix xtensa assert
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Bob Wilson <bob dot wilson at acm dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 19 Apr 2004 07:27:51 +0200
- Subject: [PATCH] Fix xtensa assert
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
This has been reported to me, assignment in assert certainly looks wrong.
2004-04-19 Jakub Jelinek <jakub@redhat.com>
* config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
--- gas/config/tc-xtensa.c.jj 2004-03-25 12:39:25.000000000 +0100
+++ gas/config/tc-xtensa.c 2004-04-19 09:36:53.062491297 +0200
@@ -3721,7 +3721,7 @@ xg_assemble_literal (insn)
set_expr_symbol_offset (&saved_loc, frag_now->fr_symbol, frag_now_fix ());
assert (insn->insn_type == ITYPE_LITERAL);
- assert (insn->ntok = 1); /* must be only one token here */
+ assert (insn->ntok == 1); /* must be only one token here */
xtensa_switch_to_literal_fragment (&state);
Jakub