Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DArchHandler_x86.cpp91 uint64_t fixupAddress, bool swap,
168 uint64_t fixupAddress,
426 uint64_t fixupAddress = atomAddress + offset; in generateAtomContent() local
433 fixupAddress, targetAddress, in generateAtomContent()
440 uint64_t fixupAddress, in applyFixupFinal() argument
462 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
465 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
495 *loc32 = ref.addend() - (fixupAddress + 4); in applyFixupRelocatable()
501 *loc16 = ref.addend() - (fixupAddress + 2); in applyFixupRelocatable()
513 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupRelocatable()
[all …]
H A DArchHandler_x86_64.cpp256 uint64_t fixupAddress,
560 uint64_t fixupAddress = atomAddress + offset; in generateAtomContent() local
567 fixupAddress, targetAddress, in generateAtomContent()
612 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
617 *loc64 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
626 *loc64 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
629 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
703 *loc32 = ref.addend() + inAtomAddress - fixupAddress; in applyFixupRelocatable()
719 *loc64 = ref.addend() + inAtomAddress - fixupAddress; in applyFixupRelocatable()
735 *loc64 = ref.addend() + fixupAddress - inAtomAddress; in applyFixupRelocatable()
[all …]
H A DArchHandler_arm64.cpp379 uint64_t fixupAddress, bool isBig, in getReferenceInfo() argument
571 uint64_t fixupAddress = atomAddress + offset; in generateAtomContent() local
655 *loc64 = (targetAddress - fixupAddress) + ref.addend(); in applyFixupFinal()
660 *loc32 = (targetAddress - fixupAddress) + ref.addend(); in applyFixupFinal()
663 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
725 *loc64 = ref.addend() + inAtomAddress - fixupAddress; in applyFixupRelocatable()
732 *loc64 = targetAddress - fixupAddress; in applyFixupRelocatable()
735 *loc32 = ref.addend() + inAtomAddress - fixupAddress; in applyFixupRelocatable()
742 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupRelocatable()
748 *loc32 = inAtomAddress - fixupAddress; in applyFixupRelocatable()
[all …]
H A DArchHandler_arm.cpp206 uint64_t fixupAddress,
526 uint64_t fixupAddress, bool isBig, in getReferenceInfo() argument
545 *addend = fixupAddress + 4 + displacement; in getReferenceInfo()
554 targetAddress = fixupAddress + 4 + displacement; in getReferenceInfo()
563 targetAddress = fixupAddress + 4 + displacement; in getReferenceInfo()
581 *addend = fixupAddress + 8 + displacement; in getReferenceInfo()
591 targetAddress = fixupAddress + 8 + displacement; in getReferenceInfo()
601 targetAddress = fixupAddress + 8 + displacement; in getReferenceInfo()
1033 uint64_t fixupAddress = atomAddress + offset; in generateAtomContent() local
1094 displacement = (ref.addend() - (fixupAddress + 4)); in applyFixupRelocatable()
[all …]
H A DArchHandler.h140 uint64_t fixupAddress, bool isBigEndian,
156 uint64_t fixupAddress, bool isBig, bool scatterable,
H A DMachONormalizedFileToAtoms.cpp616 uint64_t fixupAddress = section.address + reloc.offset; in convertRelocs() local
625 reloc, reloc2, inAtom, offsetInAtom, fixupAddress, isBig, scatterable, in convertRelocs()
661 reloc, inAtom, offsetInAtom, fixupAddress, isBig, atomByAddr, in convertRelocs()