[PATCH] D58047: [LLD][ELF][ARM] Synthesise missing .ARM.exidx sections.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 13 15:25:51 PST 2019
ruiu added a comment.
If we define a synthetic ARM.exidx section which consumes all .ARM.exidx sections and replace them with itself, we can perhaps remove SHF_ORDER and other features that we add for .ARM.exidx sections. If there's no other use of the features, I'd like to remove them.
(We saw this pattern many times: some special section such as .ARM.exidx needs special handling by the linker, and that's implemented using a generic mechanism such as SHF_ORDER, but it later turned out that that generic mechanism does not cover all corner cases, so we ended up having a complex generic feature *and* a target-aware feature. In many cases, it should have been easier to implement as a special feature from the beginning.)
CHANGES SINCE LAST ACTION
More information about the llvm-commits