]> granicus.if.org Git - llvm/commit
Merging r195157:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Thu, 21 Nov 2013 00:52:34 +0000 (00:52 +0000)
committerPetar Jovanovic <petar.jovanovic@imgtec.com>
Thu, 21 Nov 2013 00:52:34 +0000 (00:52 +0000)
commit0ff917e85472b98aec8f9d48647cde6941a5ea27
tree735a63a805c19d435a44d5455fe9375796cd7182
parent4526aebd751dfd5b12a8728524684eda7013a2fd
Merging r195157:
------------------------------------------------------------------------
r195157 | petarj | 2013-11-19 22:56:00 +0100 (Tue, 19 Nov 2013) | 8 lines

[mips] Resolve relocation for the stubs in MCJIT when load address is known

Instead of processing relocation for branch to stubs right away, emit a
modified relocation and add it to queue to be resolved later when final load
address is known.
This resolves seven MIPS MCJIT issues that were caused by missing relocation
fixups at the end.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195291 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
test/ExecutionEngine/MCJIT/remote/cross-module-a.ll
test/ExecutionEngine/MCJIT/remote/multi-module-a.ll
test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll
test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll
test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll
test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll
test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll