diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-04-02 08:22:05 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-04-03 19:13:42 -0400 |
commit | e1ec8109ab32b653c860193798bb13a779e867f5 (patch) | |
tree | f63b52054415bb0c08dea7e19b2c097ffcfa57bf /gas/config/bfin-parse.y | |
parent | f73e41ef3703be34db1c7e08271e6ac8bd758144 (diff) | |
download | gdb-e1ec8109ab32b653c860193798bb13a779e867f5.zip gdb-e1ec8109ab32b653c860193798bb13a779e867f5.tar.gz gdb-e1ec8109ab32b653c860193798bb13a779e867f5.tar.bz2 |
bfin: simplify current_inputline
Its not used for anything outside of md_assemble () so it doesn't need to be
extern. While we are there we can replace free () and xmalloc () with
XRESIZEVEC which should be faster.
gas/ChangeLog:
2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/bfin-parse.y (current_inputline): Remove definition.
* config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
Diffstat (limited to 'gas/config/bfin-parse.y')
-rw-r--r-- | gas/config/bfin-parse.y | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y index be53280..26070c1 100644 --- a/gas/config/bfin-parse.y +++ b/gas/config/bfin-parse.y @@ -160,7 +160,6 @@ static Expr_Node *unary (Expr_Op_Type, Expr_Node *); static void notethat (const char *, ...); -char *current_inputline; extern char *yytext; int yyerror (const char *); |