From: Jie Zhang Date: Tue, 22 Jul 2008 08:34:16 +0000 (+0000) Subject: * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4f42c969ae58152216ca52a87305ed0212a4608;p=binutils-gdb.git * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol. --- 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); }