• Home
  • Raw
  • Download

Lines Matching refs:addend

96                                Reference::Addend *addend) override;
107 Reference::Addend *addend) override;
259 Reference::Addend *addend) { in getReferenceInfo() argument
269 *addend = fixupAddress + 4 + (int32_t)*(const little32_t *)fixupContent; in getReferenceInfo()
276 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
283 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
285 *addend = targetAddress - reloc.value; in getReferenceInfo()
292 *addend = fixupAddress + 2 + (int16_t)*(const little16_t *)fixupContent; in getReferenceInfo()
299 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
306 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
308 *addend = targetAddress - reloc.value; in getReferenceInfo()
319 *addend = *(const ulittle32_t *)fixupContent; in getReferenceInfo()
329 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
337 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
339 *addend = *(const ulittle32_t *)fixupContent - reloc.value; in getReferenceInfo()
358 Reference::Addend *addend) { in getPairReferenceInfo() argument
384 *addend = toAddress - value - fromAddress; in getPairReferenceInfo()
396 *addend = ta - offsetInFrom; in getPairReferenceInfo()
399 *addend = fromAddress + value - toAddress; in getPairReferenceInfo()
449 *loc32 = (targetAddress - (fixupAddress + 4)) + ref.addend(); in applyFixupFinal()
452 *loc32 = (targetAddress - (fixupAddress + 2)) + ref.addend(); in applyFixupFinal()
456 *loc32 = targetAddress + ref.addend(); in applyFixupFinal()
459 *loc32 = targetAddress - inAtomAddress + ref.addend(); in applyFixupFinal()
462 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
465 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
473 *loc32 = ref.addend(); in applyFixupFinal()
495 *loc32 = ref.addend() - (fixupAddress + 4); in applyFixupRelocatable()
497 *loc32 =(targetAddress - (fixupAddress+4)) + ref.addend(); in applyFixupRelocatable()
501 *loc16 = ref.addend() - (fixupAddress + 2); in applyFixupRelocatable()
503 *loc16 = (targetAddress - (fixupAddress+2)) + ref.addend(); in applyFixupRelocatable()
507 *loc32 = targetAddress + ref.addend(); in applyFixupRelocatable()
510 *loc32 = targetAddress - inAtomAddress + ref.addend(); // FIXME in applyFixupRelocatable()
513 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupRelocatable()
516 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupRelocatable()
573 if (ref.addend() != 0) in appendSectionRelocations()
586 if (ref.addend() != 0) in appendSectionRelocations()
600 if (ref.addend() != 0) in appendSectionRelocations()
611 appendReloc(relocs, sectionOffset, 0, addressForAtom(atom) - ref.addend(), in appendSectionRelocations()