[ELF] Add .ARM.exidx sentinel section to an OutputSectionDescription
authorPeter Smith <peter.smith@linaro.org>
Tue, 30 May 2017 11:51:02 +0000 (11:51 +0000)
committerPeter Smith <peter.smith@linaro.org>
Tue, 30 May 2017 11:51:02 +0000 (11:51 +0000)
commit626c997affc93fbf14fc48f6dad2ed430219cf9c
tree3437567bc709d20a05e9cc4c964e569e1577720b
parentc796245431f9ed6a20399c00fa0f373cfd2b2de1
[ELF] Add .ARM.exidx sentinel section to an OutputSectionDescription

When there is a linker script with .ARM.exidx in the SECTIONS
command we must add the .ARM.exidx sentinel section to the
InputSectionDescriptions as well as to OutputSection::Sections.

Differential Revision: https://reviews.llvm.org/D33496

llvm-svn: 304206
lld/ELF/Writer.cpp