summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-08-17 21:28:04 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-08-17 21:28:04 +0000
commit111174be7b14e10ef45c5bd5e57b4b55521f6ff8 (patch)
tree21b9e10f20c698bf5ae7c7c6ae9dfac939574830 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
parent571c5e91c430b2b0228a30b57817bffcee018f97 (diff)
downloadbcm5719-llvm-111174be7b14e10ef45c5bd5e57b4b55521f6ff8.tar.gz
bcm5719-llvm-111174be7b14e10ef45c5bd5e57b4b55521f6ff8.zip
Correct MCJIT functionality for MIPS32 architecture.
No new tests are added. All tests in ExecutionEngine/MCJIT that have been failing pass after this patch is applied (when "make check" is done on a mips board). Patch by Petar Jovanovic. llvm-svn: 162135
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
index e413f780f54..68633c847c1 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
@@ -42,6 +42,12 @@ protected:
uint32_t Type,
int32_t Addend);
+ void resolveMIPSRelocation(uint8_t *LocalAddress,
+ uint32_t FinalAddress,
+ uint32_t Value,
+ uint32_t Type,
+ int32_t Addend);
+
virtual void resolveRelocation(uint8_t *LocalAddress,
uint64_t FinalAddress,
uint64_t Value,
OpenPOWER on IntegriCloud