aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-08-05 17:28:21 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-08-05 17:28:21 +0000
commit8202c6dbdfbd94290d5d3c3acbecf111a17e0f47 (patch)
tree61fe90465d10d5b6973906b94be403c20fd4de7c /llvm/lib/Object/MachOObjectFile.cpp
parent97d0cb316526fd1a6fb0f4e0bfaa0218b920810f (diff)
downloadllvm-8202c6dbdfbd94290d5d3c3acbecf111a17e0f47.zip
llvm-8202c6dbdfbd94290d5d3c3acbecf111a17e0f47.tar.gz
llvm-8202c6dbdfbd94290d5d3c3acbecf111a17e0f47.tar.bz2
COFF ARM: Clear the J1 and J2 bits when applying relocations to 24 bit branches
The opcode for the bl branches can initially be F000 F800, i.e. the J1 and J2 bits are already set. Therefore mask these bits out before or'ing in the new bits. Patch by Martin Storsjö! llvm-svn: 277836
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions