]> granicus.if.org Git - llvm/commit
[ARM] Create relocations for unconditional branches.
authorFlorian Hahn <florian.hahn@arm.com>
Wed, 7 Jun 2017 08:54:47 +0000 (08:54 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Wed, 7 Jun 2017 08:54:47 +0000 (08:54 +0000)
commitf7b325279105f5d4c76384675683df6d89d629db
tree01d062726e7501d4e36fbd18ec1d3a179edd6a47
parent6e94e636712953bc5ff5514114bcf7fe43ab2719
[ARM] Create relocations for unconditional branches.

Summary:
Relocations are required for unconditional branches to function symbols with
different execution mode. Without this patch, incorrect branches are
generated for tail calls between functions with different execution
mode.

Reviewers: peter.smith, rafael, echristo, kristof.beyls

Reviewed By: peter.smith

Subscribers: aemerson, javed.absar, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304882 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
test/MC/ARM/arm-thumb-tail-call.ll [new file with mode: 0644]