Lines Matching full:addend
90 Reference::Addend *addend) override;
101 Reference::Addend *addend) override;
512 // We need to undo that so it does not look like an addend. in clearThumbBit()
529 const lld::Atom **target, Reference::Addend *addend) { in getReferenceInfo() argument
543 // Instruction contains branch to addend. in getReferenceInfo()
545 *addend = fixupAddress + 4 + displacement; in getReferenceInfo()
555 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
564 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
567 // to atom+addend. in getReferenceInfo()
568 *addend += (targetAddress - reloc.value); in getReferenceInfo()
579 // Instruction contains branch to addend. in getReferenceInfo()
581 *addend = fixupAddress + 8 + displacement; in getReferenceInfo()
592 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
602 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
605 // to atom+addend. in getReferenceInfo()
606 *addend += (targetAddress - reloc.value); in getReferenceInfo()
613 *addend = instruction; in getReferenceInfo()
618 if (auto ec = atomFromAddress(reloc.symbol, instruction, target, addend)) in getReferenceInfo()
620 *addend = clearThumbBit((uint32_t) * addend, *target); in getReferenceInfo()
625 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
627 *addend += (clearThumbBit(instruction, *target) - reloc.value); in getReferenceInfo()
646 Reference::Addend *addend) { in getPairReferenceInfo() argument
798 Reference::Addend offsetInTo; in getPairReferenceInfo()
799 Reference::Addend offsetInFrom; in getPairReferenceInfo()
812 *addend = (int32_t)(value - (toAddress - fixupAddress)); in getPairReferenceInfo()
852 *addend = ta - offsetInFrom; in getPairReferenceInfo()
886 *addend = value; in getPairReferenceInfo()
897 *addend = value - toAddress; in getPairReferenceInfo()
928 displacement = (targetAddress - (fixupAddress + 4)) + ref.addend(); in applyFixupFinal()
935 value16 = (targetAddress + ref.addend()) & 0xFFFF; in applyFixupFinal()
942 value16 = (targetAddress + ref.addend()) >> 16; in applyFixupFinal()
947 value16 = (targetAddress - inAtomAddress + ref.addend()) & 0xFFFF; in applyFixupFinal()
954 value16 = (targetAddress - inAtomAddress + ref.addend()) >> 16; in applyFixupFinal()
960 displacement = (targetAddress - (fixupAddress + 8)) + ref.addend(); in applyFixupFinal()
966 value16 = (targetAddress + ref.addend()) & 0xFFFF; in applyFixupFinal()
973 value16 = (targetAddress + ref.addend()) >> 16; in applyFixupFinal()
978 value16 = (targetAddress - inAtomAddress + ref.addend()) & 0xFFFF; in applyFixupFinal()
985 value16 = (targetAddress - inAtomAddress + ref.addend()) >> 16; in applyFixupFinal()
990 *loc32 = targetAddress + ref.addend() + 1; in applyFixupFinal()
992 *loc32 = targetAddress + ref.addend(); in applyFixupFinal()
996 *loc32 = targetAddress - fixupAddress + ref.addend() + 1; in applyFixupFinal()
998 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
1004 *loc32 = ref.addend(); in applyFixupFinal()
1094 displacement = (ref.addend() - (fixupAddress + 4)); in applyFixupRelocatable()
1096 displacement = (targetAddress - (fixupAddress + 4)) + ref.addend(); in applyFixupRelocatable()
1105 value16 = ref.addend() & 0xFFFF; in applyFixupRelocatable()
1107 value16 = (targetAddress + ref.addend()) & 0xFFFF; in applyFixupRelocatable()
1113 value16 = ref.addend() >> 16; in applyFixupRelocatable()
1115 value16 = (targetAddress + ref.addend()) >> 16; in applyFixupRelocatable()
1120 value16 = (targetAddress - inAtomAddress + ref.addend()) & 0xFFFF; in applyFixupRelocatable()
1125 value16 = (targetAddress - inAtomAddress + ref.addend()) >> 16; in applyFixupRelocatable()
1132 displacement = (ref.addend() - (fixupAddress + 8)); in applyFixupRelocatable()
1134 displacement = (targetAddress - (fixupAddress + 8)) + ref.addend(); in applyFixupRelocatable()
1142 value16 = ref.addend() & 0xFFFF; in applyFixupRelocatable()
1144 value16 = (targetAddress + ref.addend()) & 0xFFFF; in applyFixupRelocatable()
1150 value16 = ref.addend() >> 16; in applyFixupRelocatable()
1152 value16 = (targetAddress + ref.addend()) >> 16; in applyFixupRelocatable()
1157 value16 = (targetAddress - inAtomAddress + ref.addend()) & 0xFFFF; in applyFixupRelocatable()
1162 value16 = (targetAddress - inAtomAddress + ref.addend()) >> 16; in applyFixupRelocatable()
1166 *loc32 = targetAddress + ref.addend(); in applyFixupRelocatable()
1169 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupRelocatable()
1209 if (ref.addend() != 0) in appendSectionRelocations()
1219 other16 = ref.addend() >> 16; in appendSectionRelocations()
1226 if (ref.addend() != 0) { in appendSectionRelocations()
1227 other16 = (targetAtomAddress + ref.addend()) >> 16; in appendSectionRelocations()
1233 other16 = (targetAtomAddress + ref.addend()) >> 16; in appendSectionRelocations()
1243 other16 = ref.addend() & 0xFFFF; in appendSectionRelocations()
1250 if (ref.addend() != 0) { in appendSectionRelocations()
1251 other16 = (targetAtomAddress + ref.addend()) & 0xFFFF; in appendSectionRelocations()
1257 other16 = (targetAtomAddress + ref.addend()) & 0xFFFF; in appendSectionRelocations()
1268 other16 = (targetAtomAddress - fromAtomAddress + ref.addend()) >> 16; in appendSectionRelocations()
1277 other16 = (targetAtomAddress - fromAtomAddress + ref.addend()) & 0xFFFF; in appendSectionRelocations()
1289 if (ref.addend() != 0) in appendSectionRelocations()
1299 other16 = ref.addend() >> 16; in appendSectionRelocations()
1306 if (ref.addend() != 0) { in appendSectionRelocations()
1307 other16 = (targetAtomAddress + ref.addend()) >> 16; in appendSectionRelocations()
1313 other16 = (targetAtomAddress + ref.addend()) >> 16; in appendSectionRelocations()
1323 other16 = ref.addend() & 0xFFFF; in appendSectionRelocations()
1330 if (ref.addend() != 0) { in appendSectionRelocations()
1331 other16 = (targetAtomAddress + ref.addend()) & 0xFFFF; in appendSectionRelocations()
1337 other16 = (targetAtomAddress + ref.addend()) & 0xFFFF; in appendSectionRelocations()
1348 other16 = (targetAtomAddress - fromAtomAddress + ref.addend()) >> 16; in appendSectionRelocations()
1357 other16 = (targetAtomAddress - fromAtomAddress + ref.addend()) & 0xFFFF; in appendSectionRelocations()
1369 if (ref.addend() != 0) in appendSectionRelocations()