aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-01-16 13:51:01 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-01-20 11:42:19 +0300
commit11e8e324441a875f1346972384be8b5609aa10c8 (patch)
tree06ad1ce67b5c782645656c9f9486e64963c3ccc0 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent345e8ed4fcfe5d0c8f457f0ff0096889aec3114f (diff)
downloadllvm-11e8e324441a875f1346972384be8b5609aa10c8.zip
llvm-11e8e324441a875f1346972384be8b5609aa10c8.tar.gz
llvm-11e8e324441a875f1346972384be8b5609aa10c8.tar.bz2
[llvm-mc] - Produce R_X86_64_PLT32 relocation for branches with JCC opcodes too.
The idea is to produce R_X86_64_PLT32 instead of R_X86_64_PC32 for branches. It fixes https://bugs.llvm.org/show_bug.cgi?id=44397. This patch teaches MC to do that for JCC (jump if condition is met) instructions. The new behavior matches modern GNU as. It is similar to D43383, which did the same for "call/jmp foo", but missed JCC cases. Differential revision: https://reviews.llvm.org/D72831
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions