[ELF][test] Add test for --gc-sections + many sections
authorJames Henderson <james.henderson@sony.com>
Fri, 13 Mar 2020 14:28:52 +0000 (14:28 +0000)
committerJames Henderson <james.henderson@sony.com>
Tue, 31 Mar 2020 11:41:19 +0000 (12:41 +0100)
commitb4d0384a6cd7c0715f39527b8db2bc0e54add893
treeaeccf07d8e93c021e6863401a88a14916f300927
parent0aa9c5429b83df1a5881f066475e2246a02491a5
[ELF][test] Add test for --gc-sections + many sections

This test covers the case where --gc-sections is used when there are
many sections. In particular, it ensures that there is no adverse
interaction with common and absolute symbols.

Reviewed by: MaskRay, grimar

Differential Revision: https://reviews.llvm.org/D76003
lld/test/ELF/many-alloc-sections.s