Lines Matching full:addend
753 // True if the target uses the relocation entry to hold the addend,
754 // otherwise the addend is written directly to the relocatable field.
787 int64_t Addend = 0;
797 // SymIdx + Addend = section sym for global + section offset
799 Addend = PrivateSyms[SymIdx]->Value + GlobalOffset;
802 Addend = TEW->getDefaultAddendForRelTy(RelType, GlobalOffset);
807 Addend = TEW->getDefaultAddendForRelTy(RelType);
825 Addend = TEW->getDefaultAddendForRelTy(RelType, SymOffset);
828 // The target without addend on the relocation symbol must be
829 // patched in the relocation place itself to contain the addend
831 RelocateField(S, RelOffset, HasRelA ? 0 : Addend, RelTySize);
834 ELFRelocation Rel(RelOffset, SymIdx, RelType, HasRelA, Addend);