diff options
author | Jie Zhang <jie.zhang@analog.com> | 2006-05-23 04:23:41 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2006-05-23 04:23:41 +0000 |
commit | 403022e0dca610b86b970c417d658939ef52eb29 (patch) | |
tree | 796aef32b2fb9d6e360a353ad5824b1467892c8a /gas/config/tc-bfin.c | |
parent | 5592d7ec4ed7451c60e370c25ec8f842da922f20 (diff) | |
download | gdb-403022e0dca610b86b970c417d658939ef52eb29.zip gdb-403022e0dca610b86b970c417d658939ef52eb29.tar.gz gdb-403022e0dca610b86b970c417d658939ef52eb29.tar.bz2 |
* config/bfin-defs.h (bfin_equals): Remove declaration.
* config/bfin-parse.y (asm_1): Remove "expr ASSIGN expr".
* config/tc-bfin.c (bfin_name_is_register): Remove.
(bfin_equals): Remove.
* config/tc-bfin.h (TC_EQUAL_IN_INSN): Redefine as 1.
(bfin_name_is_register): Remove declaration.
Diffstat (limited to 'gas/config/tc-bfin.c')
-rw-r--r-- | gas/config/tc-bfin.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index dc5d6de..f70a94d 100644 --- a/gas/config/tc-bfin.c +++ b/gas/config/tc-bfin.c @@ -1969,42 +1969,6 @@ bfin_eol_in_insn (char *line) } bfd_boolean -bfin_name_is_register (char *name) -{ - int i; - - if (*name == '[' || *name == '(') - return TRUE; - - if ((name[0] == 'W' || name[0] == 'w') && name[1] == '[') - return TRUE; - - if ((name[0] == 'B' || name[0] == 'b') && name[1] == '[') - return TRUE; - - for (i=0; bfin_reg_info[i].name != 0; i++) - { - if (!strcasecmp (bfin_reg_info[i].name, name)) - return TRUE; - } - return FALSE; -} - -void -bfin_equals (Expr_Node *sym) -{ - char *c; - - c = input_line_pointer; - while (*c != '=') - c--; - - input_line_pointer = c; - - equals ((char *) sym->value.s_value, 1); -} - -bfd_boolean bfin_start_label (char *ptr) { ptr--; |