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 | |
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')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-bfin.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2022edc..1e698a9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2008-07-22 Jie Zhang <jie.zhang@analog.com> + + * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol. + 2008-07-21 DJ Delorie <dj@redhat.com> * 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 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); } |