use xstrdup and friends more
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Mon, 28 Mar 2016 10:29:47 +0000 (06:29 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Wed, 30 Mar 2016 01:48:26 +0000 (21:48 -0400)
commit4ec9d7d56427e9fa49fd705599bb2ff0c3c5f3c1
tree4fa49c4f304caa852769c4b8dc8e6a72700e54fd
parent49efcf2ab9736ced2c4dec927d25f48e072dbce4
use xstrdup and friends more

gas/ChangeLog:

2016-03-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* config/tc-hppa.c (pa_space): Use xstrdup where appropriate.
(pa_subspace): Likewise.
(create_new_space): Likewise.
(create_new_subspace): Likewise.
* config/tc-mips.c (mips_lookup_insn): Likewise.
* config/tc-tic4x.c (tic4x_asg): Likewise.
* config/tc-tic54x.c (tic54x_eval): Likewise.
(stag_add_field): Likewise.
(tic54x_usect): Likewise.
(tic54x_clink): Likewise.
(tic54x_set_default_include): Likewise.
(tic54x_include): Likewise.
(tic54x_message): Likewise.
(tic54x_sblock): Likewise.
(tic54x_var): Likewise.
(subsym_ismember): Likewise.
(subsym_substitute): Likewise.
* config/tc-xtensa.c (xg_replace_opname): Likewise.
(xg_translate_sysreg_op): Likewise.
(xg_translate_idioms): Likewise.
(md_assemble): Likewise.
(cache_literal_section): Likewise.
gas/config/tc-hppa.c
gas/config/tc-mips.c
gas/config/tc-tic4x.c
gas/config/tc-tic54x.c
gas/config/tc-xtensa.c