bfin: simplify current_inputline
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Sat, 2 Apr 2016 12:22:05 +0000 (08:22 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Sun, 3 Apr 2016 23:13:42 +0000 (19:13 -0400)
commite1ec8109ab32b653c860193798bb13a779e867f5
treef63b52054415bb0c08dea7e19b2c097ffcfa57bf
parentf73e41ef3703be34db1c7e08271e6ac8bd758144
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.
gas/ChangeLog
gas/config/bfin-parse.y
gas/config/tc-bfin.c