Refactor section name ref counting
authorStrager Neds <strager.nds@gmail.com>
Wed, 11 Nov 2020 03:53:14 +0000 (20:53 -0700)
committerJeff Law <law@redhat.com>
Wed, 11 Nov 2020 03:53:14 +0000 (20:53 -0700)
commite79de0682e6cb6fe041a22f81cc65375c8c15bff
tree3c7884a629f338df8cb95355376bb01f3ae063c1
parent6b797b651f5e3a8a2867053dbaf4f2a70ed27da0
Refactor section name ref counting

gcc/

* symtab.c (symtab_node::set_section_for_node): Extract reference
counting logic into ...
(retain_section_hash_entry): ... here (new function) and ...
(release_section_hash_entry): ... here (new function).
gcc/symtab.c