Lines Matching full:addend
259 // the symbol resides (RE.Addend provides additional information about the
273 << " Addend: " << RE.Addend in resolveRelocation()
314 return applyRelocationValue(LocalAddress, Value + RE.Addend, in resolveI386Relocation()
322 Value = SectionABase - SectionBBase + RE.Addend; in resolveI386Relocation()
353 return applyRelocationValue(LocalAddress, Value + RE.Addend, 1 << RE.Size); in resolveX86_64Relocation()
565 int64_t Addend = 0; in processSECTDIFFRelocation() local
566 memcpy(&Addend, LocalAddress, NumBytes); in processSECTDIFFRelocation()
594 if (Addend != AddrA - AddrB) in processSECTDIFFRelocation()
595 Error("Unexpected SECTDIFF relocation addend."); in processSECTDIFFRelocation()
598 << ", Addend: " << Addend << ", SectionA ID: " in processSECTDIFFRelocation()
630 int64_t Addend = 0; in processI386ScatteredVANILLA() local
631 memcpy(&Addend, LocalAddress, NumBytes); in processI386ScatteredVANILLA()
644 Addend -= SectionBaseAddr; in processI386ScatteredVANILLA()
645 RelocationEntry R(SectionID, Offset, RelocType, Addend, in processI386ScatteredVANILLA()
694 uint64_t Addend = 0; in processRelocationRef() local
695 memcpy(&Addend, LocalAddress, NumBytes); in processRelocationRef()
706 Value.Addend = lsi->second.second + Addend; in processRelocationRef()
713 Value.Addend = gsi->second.second + Addend; in processRelocationRef()
716 Value.Addend = Addend; in processRelocationRef()
727 Value.Addend += RelocAddr + 4; in processRelocationRef()
736 DEBUG(dbgs() << "\nAddr: " << Addr << "\nAddend: " << Addend); in processRelocationRef()
737 Value.Addend = Addend - Addr; in processRelocationRef()
739 Value.Addend += Offset + NumBytes; in processRelocationRef()
749 Value.Addend -= Addend; in processRelocationRef()
758 MachO::X86_64_RELOC_UNSIGNED, Value.Addend, false, in processRelocationRef()
768 MachO::X86_64_RELOC_UNSIGNED, Addend, true, in processRelocationRef()
785 MachO::GENERIC_RELOC_VANILLA, Value.Addend); in processRelocationRef()
797 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, IsPCRel, Size); in processRelocationRef()