[PATCH] D76668: [lld][ELF] Ignore __start/__stop symbols in section groups during GC
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 24 22:56:39 PDT 2020
ruiu added a comment.
lld's `--gc-sections` behavior didn't take start/stop symbols into consideration, but it turned out some programs didn't work with that algorithm, so we (I believe rafael or pcc) added the logic to preserve sections for start/stop symbols. Therefore, I think we can't ignore start/stop symbols at the section gc stage and need to at least keep the existing logic.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76668/new/
https://reviews.llvm.org/D76668
More information about the llvm-commits
mailing list