Re: [PATCH 2/3] Refactor section name ref counting

2020-11-10 Thread Jeff Law via Gcc-patches
On 11/12/19 11:28 PM, Strager Neds wrote: > symtab_node::set_section_for_node manages the reference count of > section_hash_entry objects. I plan to add another function which needs > to manage the reference count of these objects. To avoid duplicating > code, factor the existing logic into reusa

[PATCH 2/3] Refactor section name ref counting

2019-11-12 Thread Strager Neds
symtab_node::set_section_for_node manages the reference count of section_hash_entry objects. I plan to add another function which needs to manage the reference count of these objects. To avoid duplicating code, factor the existing logic into reusable functions. This patch should not change behavio