Home | History | Annotate | Download | only in MC

Lines Matching defs:Fixup

248                                 const MCFixup &Fixup, const MCFragment *DF,
252 if (!Fixup.getValue()->EvaluateAsRelocatable(Target, Layout))
253 getContext().FatalError(Fixup.getLoc(), "expected relocatable expression");
256 Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel;
295 bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
301 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset();
309 // Let the backend adjust the fixup value if necessary, including whether
311 Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value,
555 const MCFixup &Fixup) {
556 // Evaluate the fixup.
559 if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue)) {
560 // The fixup was unresolved, we need a relocation. Inform the object
562 // fixup value if need be.
563 getWriter().RecordRelocation(*this, Layout, &F, Fixup, Target, FixedValue);
627 MCFixup &Fixup = *it3;
628 uint64_t FixedValue = handleFixup(Layout, *DF, Fixup);
629 getBackend().applyFixup(Fixup, DF->getContents().data(),
637 MCFixup &Fixup = *it3;
638 uint64_t FixedValue = handleFixup(Layout, *IF, Fixup);
639 getBackend().applyFixup(Fixup, IF->getCode().data(),
652 bool MCAssembler::fixupNeedsRelaxation(const MCFixup &Fixup,
658 // If we cannot resolve the fixup value, it requires relaxation.
661 if (!evaluateFixup(Layout, Fixup, DF, Target, Value))
664 return getBackend().fixupNeedsRelaxation(Fixup, Value, DF, Layout);