PR26410, UBSAN: symbols.c:1818
authorAlan Modra <amodra@gmail.com>
Tue, 25 Aug 2020 05:21:21 +0000 (14:51 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 25 Aug 2020 13:37:10 +0000 (23:07 +0930)
commit30b940a097d48c73013bea38a36c5f8e3c3b2358
tree563f37c40afa201fec998c4d7709f3a858ba748f
parentca159256b4eb2c3bf245aef7f05a24fcc1ca6d9b
PR26410, UBSAN: symbols.c:1818

Don't memset(0,0,0).

PR 26410
* symbols.c (dollar_label_count, dollar_label_max): Make size_t.
(dollar_label_clear): Don't call memset with NULL pointer.
gas/ChangeLog
gas/symbols.c