diff options
author | Peter Smith <peter.smith@linaro.org> | 2018-08-20 09:19:30 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2018-08-20 09:19:30 +0000 |
commit | d1be026ede4c499222e8c35b82ab4cebdf400b30 (patch) | |
tree | 0271370bc90d236dc04f00d58e7ce350598e89f7 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 07db43226553eb070c29206686070ad45e2d8894 (diff) | |
download | llvm-d1be026ede4c499222e8c35b82ab4cebdf400b30.zip llvm-d1be026ede4c499222e8c35b82ab4cebdf400b30.tar.gz llvm-d1be026ede4c499222e8c35b82ab4cebdf400b30.tar.bz2 |
[ELF] Add support for older Arm Architectures with smaller branch range
The Thumb BL and BLX instructions on older Arm Architectures such as v5 and
v6 have a constrained encoding J1 and J2 must equal 1, later Architectures
relaxed this restriction allowing J1 and J2 to be used to calculate a larger
immediate.
This patch adds support for the old encoding, it is used when the build
attributes for the input objects only contain older architectures.
Differential Revision: https://reviews.llvm.org/D50076
llvm-svn: 340159
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions