diff options
author | Sean Callanan <scallanan@apple.com> | 2012-03-26 20:45:52 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-03-26 20:45:52 +0000 |
commit | b38aae442f0e3ce11a6231455b180bfc66ab5d3e (patch) | |
tree | 2bbac9fc3bbf45358004ace19418ed7ed233d335 /lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | |
parent | c71108b6f843f39d4a305e6d351e4a2be4f604b2 (diff) | |
download | llvm-b38aae442f0e3ce11a6231455b180bfc66ab5d3e.tar.gz llvm-b38aae442f0e3ce11a6231455b180bfc66ab5d3e.tar.bz2 llvm-b38aae442f0e3ce11a6231455b180bfc66ab5d3e.tar.xz |
Made RuntimeDyldMachO support vanilla i386
relocations. The algorithm is the same as
that for x86_64. Scattered relocations, a
feature present in i386 but not on x86_64,
are not yet supported.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h index 6721703565..48a7253242 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h @@ -74,6 +74,13 @@ class RuntimeDyldMachO : public RuntimeDyldImpl { unsigned Type, unsigned Size, int64_t Addend); + bool resolveI386Relocation(uint8_t *LocalAddress, + uint64_t FinalAddress, + uint64_t Value, + bool isPCRel, + unsigned Type, + unsigned Size, + int64_t Addend); bool resolveX86_64Relocation(uint8_t *LocalAddress, uint64_t FinalAddress, uint64_t Value, |