mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user