diff options
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp b/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp index 34e3f3160c7..847018b69f5 100644 --- a/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp +++ b/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp @@ -436,10 +436,9 @@ void Util::appendSection(SectionInfo *si, NormalizedFile &file) { if ( ref->target() != nullptr ) targetAddress = _atomToAddress[ref->target()]; uint64_t fixupAddress = _atomToAddress[ai.atom] + offset; - _context.kindHandler().applyFixup(ref->kindNamespace(), ref->kindArch(), - ref->kindValue(), ref->addend(), - &atomContent[offset], fixupAddress, - targetAddress); + _context.kindHandler().applyFixup( + ref->kindNamespace(), ref->kindArch(), ref->kindValue(), + ref->addend(), &atomContent[offset], fixupAddress, targetAddress); } } } |

