gas/ecoff.c: don't use zero struct copies to init
authorAlan Modra <amodra@gmail.com>
Fri, 10 Mar 2023 09:56:51 +0000 (20:26 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 14 Mar 2023 00:50:21 +0000 (11:20 +1030)
commitfb977255c88f3d27e21801b8ad8d9032ef4c7ffd
tree4af11dad1a46cf1c1f9224524b5e9ba14951c758
parent4c6f9528b6db9838e8ed2050744a08b53265acb2
gas/ecoff.c: don't use zero struct copies to init

It might have made sense once upon a time, but doesn't nowadays when
compilers expand memset inline.

* ecoff.c (add_aux_sym_tir, allocate_scope, allocate_vlinks),
(allocate_shash, allocate_thash, allocate_tag, allocate_forward),
(allocate_thead, allocate_lineno_list): Use memset rather than
copying zero struct.
gas/ecoff.c