summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-01-03 00:57:10 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-01-03 00:57:10 +0000
commita09f872f58c449d849e53a6f5c48299e8767694a (patch)
treea458e57b99f74b2922a27e55a94d7991bc0127a9 /llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
parentd421db05bb7e7a9dc6223869447a64c36350922d (diff)
downloadbcm5719-llvm-a09f872f58c449d849e53a6f5c48299e8767694a.tar.gz
bcm5719-llvm-a09f872f58c449d849e53a6f5c48299e8767694a.zip
ReaderWriter: adjust ARM target addresses for exec
ARM NT assumes a THUMB only environment. As such, any address that is detected as residing in an executable section is adjusted to have its bottom bit set to indicate THUMB in case of a mode exchange. Although the testing here seems insufficient (missing the negative cases) the existing test cases for the IMAGE_REL_ARM_{ADDR32,MOV32T} are relevant as they ensure that we do not incorrectly set the bit. llvm-svn: 225104
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud