summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetObjectFile.cpp
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2014-02-05 14:15:16 +0000
committerLogan Chien <tzuhsiang.chien@gmail.com>2014-02-05 14:15:16 +0000
commit575c4addcebc8c6cff71109d3f648b35aa49910b (patch)
treef59378a36a098ccf970b07ef2b6ddfacb67aa139 /lib/Target/XCore/XCoreTargetObjectFile.cpp
parent1ee5ca7005d8f091854fee154422320a271a4d6c (diff)
downloadllvm-575c4addcebc8c6cff71109d3f648b35aa49910b.tar.gz
llvm-575c4addcebc8c6cff71109d3f648b35aa49910b.tar.bz2
llvm-575c4addcebc8c6cff71109d3f648b35aa49910b.tar.xz
ARM: Resolve thumb_bl fixup in same MCFragment.
In Thumb1 mode, bl instruction might be selected for branches between basic blocks in the function if the offset is greater than 2KB. However, this might cause SEGV because the destination symbol is not marked as thumb function and the execution mode will be reset to ARM mode. Since we are sure that these symbols are in the same data fragment, we can simply resolve these local symbols, and don't emit any relocation information for this bl instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions