summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CppBackend/CPPBackend.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-07-24 01:58:40 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-07-24 01:58:40 +0000
commit2e2362462f79f05777d51992a6a50ede8eab0473 (patch)
tree309836d8dbb93bb047b607f231ab7ec421bf2992 /llvm/lib/Target/CppBackend/CPPBackend.cpp
parent8d5ecf8c691798f4112f872f437c06a9c3b29c43 (diff)
downloadbcm5719-llvm-2e2362462f79f05777d51992a6a50ede8eab0473.tar.gz
bcm5719-llvm-2e2362462f79f05777d51992a6a50ede8eab0473.zip
[mips] Use pristine object file while processing relocations.
Similar to ARM change r182800, dynamic linker will read bits/addends from the original object rather than from the object that might have been patched previously. For the purpose of relocations for MCJIT stubs on MIPS, we internally use otherwise unused MIPS relocations. The change also enables MCJIT unit tests for MIPS (EL/BE), and the following two tests now pass: - MCJITTest.return_global and - MCJITTest.multiple_functions. These issues have been tracked as Bug 16250. Patch by Petar Jovanovic. llvm-svn: 187019
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud