aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-02-19 04:22:27 +0000
committerRui Ueyama <ruiu@google.com>2015-02-19 04:22:27 +0000
commit3966c6153693ed9c0acea78318b1a91bbe4220bf (patch)
tree18fc982c434288b7e08bf17509facb6c04d500b6 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parent07236733bef823361cea231406d4a3f31a5bfb6b (diff)
downloadllvm-3966c6153693ed9c0acea78318b1a91bbe4220bf.zip
llvm-3966c6153693ed9c0acea78318b1a91bbe4220bf.tar.gz
llvm-3966c6153693ed9c0acea78318b1a91bbe4220bf.tar.bz2
PECOFF: Fix base relocation for an absolute symbol.
Previously we wrongly emitted a base relocation entry for an absolute symbol. That made the loader to rewrite some instruction operands with wrong values only when a DLL is not loaded at the default address. That caused a misterious crash of some executable. Absolute symbols will of course never change value wherever the binary is loaded to memory. We shouldn't emit base relocations for absolute symbols. llvm-svn: 229816
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions