Home | History | Annotate | Download | only in MC

Lines Matching defs:Fixup

332                                 const MCFixup &Fixup, const MCFragment *DF,
336 if (!Fixup.getValue()->EvaluateAsRelocatable(Target, Layout))
337 getContext().FatalError(Fixup.getLoc(), "expected relocatable expression");
340 Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel;
379 bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
385 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset();
393 // Let the backend adjust the fixup value if necessary, including whether
395 Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value,
715 const MCFixup &Fixup) {
716 // Evaluate the fixup.
719 if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue)) {
720 // The fixup was unresolved, we need a relocation. Inform the object
722 // fixup value if need be.
723 getWriter().RecordRelocation(*this, Layout, &F, Fixup, Target, FixedValue);
788 MCFixup &Fixup = *it3;
789 uint64_t FixedValue = handleFixup(Layout, *F, Fixup);
790 getBackend().applyFixup(Fixup, F->getContents().data(),
803 bool MCAssembler::fixupNeedsRelaxation(const MCFixup &Fixup,
806 // If we cannot resolve the fixup value, it requires relaxation.
809 if (!evaluateFixup(Layout, Fixup, DF, Target, Value))
812 return getBackend().fixupNeedsRelaxation(Fixup, Value, DF, Layout);