aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@arm.com>2020-05-02 11:16:45 +0100
committerPeter Smith <peter.smith@arm.com>2020-05-05 09:59:45 +0100
commit48aebfc908ba7b9372aaa478a9c200789491096e (patch)
tree9fbbd4aca055f27ec5545e97746b09590ed9e86c /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
parent09767af848f7883ca049c4ad8a4657f9059c8c90 (diff)
downloadllvm-48aebfc908ba7b9372aaa478a9c200789491096e.zip
llvm-48aebfc908ba7b9372aaa478a9c200789491096e.tar.gz
llvm-48aebfc908ba7b9372aaa478a9c200789491096e.tar.bz2
[ELF][ARM] Do not create .ARM.exidx sections for out of range inputs
A linker will create .ARM.exidx sections for InputSections that don't have them. This can cause a relocation out of range error If the InputSection happens to be extremely far away from the other sections. This is often the case for the vector table on older ARM CPUs as the only two places that the table can be placed is 0 or 0xffff0000. We fix this by removing InputSections that need a linker generated .ARM.exidx section if that would cause an error. Differential Revision: https://reviews.llvm.org/D79289
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions