stat_alloc casts
authorAlan Modra <amodra@gmail.com>
Sat, 10 Aug 2019 02:58:31 +0000 (12:28 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 10 Aug 2019 07:46:16 +0000 (17:16 +0930)
commit988de25b366c74cd62e35f3d5cf63086a964c7aa
treea1ec5980fb59bb8b0ed849284da047a7a28ba9f0
parent36983a93bb338b7cdd6f7d6f9f91dc9ce9815b4e
stat_alloc casts

Casts from a void* just clutter the source.

* ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop),
(exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of
stat_alloc return value.
* ldlang.c (new_statement, new_afile, sort_def_symbol),
(lang_memory_region_lookup, lang_memory_region_alias),
(ldlang_add_undef, ldlang_add_require_defined, insert_pad),
(lang_add_gc_name, lang_new_phdr): Likewise.
* lexsup.c (set_segment_start): Likewise.
ld/ChangeLog
ld/ldexp.c
ld/ldlang.c
ld/lexsup.c