Home
last modified time | relevance | path

Searched refs:loc32 (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/lld/lib/ReaderWriter/MachO/
DArchHandler_arm64.cpp592 ulittle32_t *loc32 = reinterpret_cast<ulittle32_t *>(loc); in applyFixupFinal() local
601 *loc32 = setDisplacementInBranch26(*loc32, displacement); in applyFixupFinal()
608 *loc32 = setDisplacementInADRP(*loc32, displacement); in applyFixupFinal()
614 *loc32 = setImm12(*loc32, displacement); in applyFixupFinal()
620 *loc32 = setImm12(*loc32, displacement >> 1); in applyFixupFinal()
626 *loc32 = setImm12(*loc32, displacement >> 2); in applyFixupFinal()
632 *loc32 = setImm12(*loc32, displacement >> 3); in applyFixupFinal()
638 *loc32 = setImm12(*loc32, displacement >> 4); in applyFixupFinal()
641 instruction = *loc32; in applyFixupFinal()
647 *loc32 = instruction; in applyFixupFinal()
[all …]
DArchHandler_arm.cpp912 ulittle32_t *loc32 = reinterpret_cast<ulittle32_t *>(loc); in applyFixupFinal() local
929 value32 = setDisplacementInThumbBranch(*loc32, fixupAddress, in applyFixupFinal()
931 *loc32 = value32; in applyFixupFinal()
938 *loc32 = setWordFromThumbMov(*loc32, value16); in applyFixupFinal()
943 *loc32 = setWordFromThumbMov(*loc32, value16); in applyFixupFinal()
950 *loc32 = setWordFromThumbMov(*loc32, value16); in applyFixupFinal()
955 *loc32 = setWordFromThumbMov(*loc32, value16); in applyFixupFinal()
961 value32 = setDisplacementInArmBranch(*loc32, displacement, targetIsThumb); in applyFixupFinal()
962 *loc32 = value32; in applyFixupFinal()
969 *loc32 = setWordFromArmMov(*loc32, value16); in applyFixupFinal()
[all …]
DArchHandler_x86_64.cpp580 ulittle32_t *loc32 = reinterpret_cast<ulittle32_t *>(loc); in applyFixupFinal() local
589 *loc32 = targetAddress - (fixupAddress + 4) + ref.addend(); in applyFixupFinal()
600 *loc32 = targetAddress - (fixupAddress + 5) + ref.addend(); in applyFixupFinal()
604 *loc32 = targetAddress - (fixupAddress + 6) + ref.addend(); in applyFixupFinal()
608 *loc32 = targetAddress - (fixupAddress + 8) + ref.addend(); in applyFixupFinal()
612 *loc32 = targetAddress - fixupAddress + ref.addend(); in applyFixupFinal()
623 *loc32 = targetAddress - (fixupAddress + 4) + ref.addend(); in applyFixupFinal()
629 *loc32 = fixupAddress - targetAddress + ref.addend(); in applyFixupFinal()
637 *loc32 = ref.addend(); in applyFixupFinal()
641 *loc32 = (targetAddress - imageBaseAddress) + ref.addend(); in applyFixupFinal()
[all …]
DArchHandler_x86.cpp446 ulittle32_t *loc32 = reinterpret_cast<ulittle32_t *>(loc); in applyFixupFinal() local
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()
491 ulittle32_t *loc32 = reinterpret_cast<ulittle32_t *>(loc); in applyFixupRelocatable() local
495 *loc32 = ref.addend() - (fixupAddress + 4); in applyFixupRelocatable()
[all …]