aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2018-08-20 09:37:50 +0000
committerPeter Smith <peter.smith@linaro.org>2018-08-20 09:37:50 +0000
commita8656c62f5e1c3c9e73a5274219abbcf75de6a1a (patch)
tree15fe1e1953287ed59030ac3ad08156851e911f60 /clang/lib/Serialization/ModuleManager.cpp
parentd1be026ede4c499222e8c35b82ab4cebdf400b30 (diff)
downloadllvm-a8656c62f5e1c3c9e73a5274219abbcf75de6a1a.zip
llvm-a8656c62f5e1c3c9e73a5274219abbcf75de6a1a.tar.gz
llvm-a8656c62f5e1c3c9e73a5274219abbcf75de6a1a.tar.bz2
[ELF] Add support for Armv5 and Armv6 compatible Thunks
Older Arm architectures do not support the MOVT and MOVW instructions so we must use an alternative sequence of instructions to transfer control to the destination. Assuming at least Armv5 this patch adds support for Thunks that load or add to the program counter. Note that there are no Armv5 Thumb Thunks as there is no Thumb branch instruction in Armv5 that supports Thunks. These thunks will not work for Armv4t (arm7tdmi) as this architecture cannot change state from using the LDR or ADD instruction. Differential Revision: https://reviews.llvm.org/D50077 llvm-svn: 340160
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions