diff options
author | Jie Zhang <jie.zhang@analog.com> | 2008-07-22 08:34:16 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2008-07-22 08:34:16 +0000 |
commit | b4f42c969ae58152216ca52a87305ed0212a4608 (patch) | |
tree | 213a88666e69eebf26ecb386e1068f18c11cc78c /gas/config/tc-bfin.c | |
parent | e0b640329e833ef6338cf962f153f5bdb4ba7eed (diff) | |
download | gdb-b4f42c969ae58152216ca52a87305ed0212a4608.zip gdb-b4f42c969ae58152216ca52a87305ed0212a4608.tar.gz gdb-b4f42c969ae58152216ca52a87305ed0212a4608.tar.bz2 |
* config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
Diffstat (limited to 'gas/config/tc-bfin.c')
-rw-r--r-- | gas/config/tc-bfin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index 3991622..3703b9b 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); } |