mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Fix MachO's getRelocationAdditionalInfo.
It was returning the loaded address of the section containing the relocation, which really doesn't seem to be the intent of this function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179255 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -512,6 +512,12 @@ error_code MachOObjectFileBase::getLibraryPath(DataRefImpl LibData,
|
||||
report_fatal_error("Needed libraries unimplemented in MachOObjectFileBase");
|
||||
}
|
||||
|
||||
error_code MachOObjectFileBase::getRelocationAdditionalInfo(DataRefImpl Rel,
|
||||
int64_t &Res) const {
|
||||
Res = 0;
|
||||
return object_error::success;
|
||||
}
|
||||
|
||||
|
||||
/*===-- Miscellaneous -----------------------------------------------------===*/
|
||||
|
||||
|
Reference in New Issue
Block a user