mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Expand relocation type field to 64 bits. MachO scattered relocations require 33 bits of type info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -634,7 +634,7 @@ error_code MachOObjectFile::getRelocationSymbol(DataRefImpl Rel,
|
||||
return object_error::success;
|
||||
}
|
||||
error_code MachOObjectFile::getRelocationType(DataRefImpl Rel,
|
||||
uint32_t &Res) const {
|
||||
uint64_t &Res) const {
|
||||
InMemoryStruct<macho::RelocationEntry> RE;
|
||||
getRelocation(Rel, RE);
|
||||
Res = RE->Word1;
|
||||
|
Reference in New Issue
Block a user