Whilst reviewing some internal testing, I noticed a couple of holes in coverage of mergeable sections containing symbols. This patch addresses these holes:
- Show that mid-piece symbols have their values updated properly when pieces are merged.
- Show the behaviour of symbols in mergeable pieces when --gc-sections is enabled.
Also make a test more robust to address variations.
Thanks for adding coverage. There are gc-sections-merge*.s. Can you check whether these tests can be reorganized?