We set Live bit in constructor of InputSectionBase currently.
If it is set, then section should not be collected.
Previously GC code contained few excessive checks for that, thrown around in code.
And when I was need in D28612 to prevent GC for .rel[a] sections,
I had to modify that places. Though it is cleaner to remove them at all, because
we already have a Live bit set, what looks to be enough.
That should help to reduce amoount of changes for D28612.
Why did you change this comment?
We still shouldn't reclaim !SHF_ALLOC sections as they can contain debug infos