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);
103 const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) {
104 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
105 unsigned IsRIPRel = isFixupKindRIPRel(Fixup.getKind());
106 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind());
109 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset();
111 Writer->getFragmentAddress(Asm, Fragment) + Fixup.getOffset();
154 Asm.getContext().reportError(Fixup.getLoc(),
163 Fixup.getLoc(), "unsupported pc-relative relocation of difference");
179 Fixup.getLoc(), "unsupported relocation with identical base");
187 Asm.getContext().reportError(Fixup.getLoc(),
256 Asm.getContext().reportError(Fixup.getLoc(),
263 Fixup.getLoc(), "unsupported relocation of undefined symbol '" +
275 if (Fixup.getTargetKind() == X86::reloc_riprel_4byte_movq_load)
283 Fixup.getLoc(), "unsupported symbol modifier in relocation");
311 Fixup.getLoc(),
330 Fixup.getLoc(), "TLVP symbol modifier should have been rip-rel");
334 Fixup.getLoc(), "unsupported symbol modifier in relocation");
338 if (Fixup.getTargetKind() == X86::reloc_signed_4byte) {
340 Fixup.getLoc(),
362 const MCFixup &Fixup,
367 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset();
368 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
376 Fixup.getLoc(),
392 Fixup.getLoc(),
417 Asm.getContext().reportError(Fixup.getLoc(),
461 const MCFixup &Fixup,
468 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind());
469 uint32_t Value = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset();
479 Writer->getFragmentAddress(Asm, Fragment) + Fixup.getOffset();
500 const MCFixup &Fixup,
503 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
504 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind());
509 recordTLVPRelocation(Writer, Asm, Fragment, Fixup, Target, FixedValue);
517 recordScatteredRelocation(Writer, Asm, Fragment, Fixup, Target, Log2Size,
537 recordScatteredRelocation(Writer, Asm, Fragment, Fixup, Target, Log2Size,
542 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset();