From b4f42c969ae58152216ca52a87305ed0212a4608 Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Tue, 22 Jul 2008 08:34:16 +0000 Subject: [PATCH] * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol. --- gas/ChangeLog | 4 ++++ gas/config/tc-bfin.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2022edca76b..1e698a99a3f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2008-07-22 Jie Zhang + + * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol. + 2008-07-21 DJ Delorie * config/tc-h8300.c (fix_operand_size): Use the default size diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index 3991622d0cd..3703b9be29e 100644 --- a/gas/config/tc-bfin.c +++ b/gas/config/tc-bfin.c @@ -1912,6 +1912,9 @@ bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg) lbegin = Expr_Node_Create (Expr_Node_Reloc, lbeginval, NULL, NULL); lend = Expr_Node_Create (Expr_Node_Reloc, lendval, NULL, NULL); + + symbol_remove (symbol_find (loopsym), &symbol_rootP, &symbol_lastP); + return bfin_gen_loopsetup(lbegin, reg, rop, lend, preg); } -- 2.30.2