Lines Matching defs:Fixup
30 const MCFixup &Fixup,
37 const MCFixup &Fixup,
44 const MCFixup &Fixup,
48 const MCFragment *Fragment, const MCFixup &Fixup,
56 const MCFragment *Fragment, const MCFixup &Fixup,
59 RecordX86_64Relocation(Writer, Asm, Fragment, Fixup, Target, FixedValue);
61 RecordX86Relocation(Writer, Asm, Fragment, Fixup, Target, FixedValue);
97 const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) {
98 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
99 unsigned IsRIPRel = isFixupKindRIPRel(Fixup.getKind());
100 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind());
103 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset();
105 Writer->getFragmentAddress(Asm, Fragment) + Fixup.getOffset();
148 Asm.getContext().reportError(Fixup.getLoc(),
157 Fixup.getLoc(), "unsupported pc-relative relocation of difference");
173 Fixup.getLoc(), "unsupported relocation with identical base");
181 Asm.getContext().reportError(Fixup.getLoc(),
250 Asm.getContext().reportError(Fixup.getLoc(),
257 Fixup.getLoc(), "unsupported relocation of undefined symbol '" +
269 if (Fixup.getTargetKind() == X86::reloc_riprel_4byte_movq_load)
277 Fixup.getLoc(), "unsupported symbol modifier in relocation");
305 Fixup.getLoc(),
324 Fixup.getLoc(), "TLVP symbol modifier should have been rip-rel");
328 Fixup.getLoc(), "unsupported symbol modifier in relocation");
332 if (Fixup.getTargetKind() == X86::reloc_signed_4byte) {
334 Fixup.getLoc(),
356 const MCFixup &Fixup,
361 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset();
362 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
370 Fixup.getLoc(),
386 Fixup.getLoc(),
411 Asm.getContext().reportError(Fixup.getLoc(),
455 const MCFixup &Fixup,
462 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind());
463 uint32_t Value = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset();
473 Writer->getFragmentAddress(Asm, Fragment) + Fixup.getOffset();
494 const MCFixup &Fixup,
497 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
498 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind());
503 recordTLVPRelocation(Writer, Asm, Fragment, Fixup, Target, FixedValue);
511 recordScatteredRelocation(Writer, Asm, Fragment, Fixup, Target, Log2Size,
531 recordScatteredRelocation(Writer, Asm, Fragment, Fixup, Target, Log2Size,
536 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset();