Home
last modified time | relevance | path

Searched refs:fixupAddress (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DArchHandler_x86.cpp92 uint64_t fixupAddress, bool swap,
169 uint64_t fixupAddress,
427 uint64_t fixupAddress = atomAddress + offset; in generateAtomContent() local
434 fixupAddress, targetAddress, in generateAtomContent()
441 uint64_t fixupAddress, in applyFixupFinal() argument
463 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
466 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
496 *loc32 = ref.addend() - (fixupAddress + 4); in applyFixupRelocatable()
502 *loc16 = ref.addend() - (fixupAddress + 2); in applyFixupRelocatable()
514 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupRelocatable()
[all …]
H A DArchHandler_x86_64.cpp240 uint64_t fixupAddress,
534 uint64_t fixupAddress = atomAddress + offset; in generateAtomContent() local
541 fixupAddress, targetAddress, in generateAtomContent()
586 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
591 *loc64 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
600 *loc64 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
603 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
675 *loc32 = ref.addend() + inAtomAddress - fixupAddress; in applyFixupRelocatable()
691 *loc64 = ref.addend() + inAtomAddress - fixupAddress; in applyFixupRelocatable()
707 *loc64 = ref.addend() + fixupAddress - inAtomAddress; in applyFixupRelocatable()
[all …]
H A DArchHandler_arm64.cpp380 uint64_t fixupAddress, bool isBig, in getReferenceInfo() argument
572 uint64_t fixupAddress = atomAddress + offset; in generateAtomContent() local
656 *loc64 = (targetAddress - fixupAddress) + ref.addend(); in applyFixupFinal()
661 *loc32 = (targetAddress - fixupAddress) + ref.addend(); in applyFixupFinal()
664 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
726 *loc64 = ref.addend() + inAtomAddress - fixupAddress; in applyFixupRelocatable()
733 *loc64 = targetAddress - fixupAddress; in applyFixupRelocatable()
736 *loc32 = ref.addend() + inAtomAddress - fixupAddress; in applyFixupRelocatable()
743 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupRelocatable()
749 *loc32 = inAtomAddress - fixupAddress; in applyFixupRelocatable()
[all …]
H A DArchHandler_arm.cpp207 uint64_t fixupAddress,
527 uint64_t fixupAddress, bool isBig, in getReferenceInfo() argument
546 *addend = fixupAddress + 4 + displacement; in getReferenceInfo()
555 targetAddress = fixupAddress + 4 + displacement; in getReferenceInfo()
564 targetAddress = fixupAddress + 4 + displacement; in getReferenceInfo()
582 *addend = fixupAddress + 8 + displacement; in getReferenceInfo()
592 targetAddress = fixupAddress + 8 + displacement; in getReferenceInfo()
602 targetAddress = fixupAddress + 8 + displacement; in getReferenceInfo()
1034 uint64_t fixupAddress = atomAddress + offset; in generateAtomContent() local
1095 displacement = (ref.addend() - (fixupAddress + 4)); in applyFixupRelocatable()
[all …]
H A DArchHandler.h141 uint64_t fixupAddress, bool isBigEndian,
157 uint64_t fixupAddress, bool isBig, bool scatterable,
H A DMachONormalizedFileToAtoms.cpp615 uint64_t fixupAddress = section.address + reloc.offset; in convertRelocs() local
624 reloc, reloc2, inAtom, offsetInAtom, fixupAddress, isBig, scatterable, in convertRelocs()
660 reloc, inAtom, offsetInAtom, fixupAddress, isBig, atomByAddr, in convertRelocs()