diff options
author | Peter Smith <peter.smith@linaro.org> | 2016-10-21 11:25:33 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2016-10-21 11:25:33 +0000 |
commit | 580ba95b16cd1c86c7a8cd1d2cad07827ffadbc0 (patch) | |
tree | 61cd25001ba03f3fc9e44dc2220298c9b04c3f90 /llvm/lib/CodeGen/ShrinkWrap.cpp | |
parent | eb01a169c23c1cc2f24d3f437a380f7be8cb4268 (diff) | |
download | bcm5719-llvm-580ba95b16cd1c86c7a8cd1d2cad07827ffadbc0.tar.gz bcm5719-llvm-580ba95b16cd1c86c7a8cd1d2cad07827ffadbc0.zip |
[ELF] Add sh_link field to .ARM.exidx sections for relocatable links
When doing a relocatable link the .ARM.exidx sections with the
SHF_LINK_ORDER flag set need to set the sh_link field to the executable
section they describe. We find the appropriate OutputSection by
following the sh_link field of the .ARM.exidx InputSections.
The getOutputSectionName() function rules make sure that when there are
multiple .ARM.exidx InputSections in an OutputSection they all have the
same sh_link field.
Differential revision: https://reviews.llvm.org/D25825
llvm-svn: 284820
Diffstat (limited to 'llvm/lib/CodeGen/ShrinkWrap.cpp')
0 files changed, 0 insertions, 0 deletions