Lines Matching refs:Fixup

85 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,  in adjustFixupValue()  argument
87 switch (Fixup.getTargetKind()) { in adjustFixupValue()
106 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
108 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
113 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
115 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned."); in adjustFixupValue()
120 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
122 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
127 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
129 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
134 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
136 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned."); in adjustFixupValue()
146 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
148 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned."); in adjustFixupValue()
153 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value."); in adjustFixupValue()
155 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned."); in adjustFixupValue()
174 const MCFixup &Fixup, in fixupNeedsRelaxationAdvanced() argument
186 switch (Fixup.getTargetKind()) { in fixupNeedsRelaxationAdvanced()
200 void CSKYAsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, in applyFixup() argument
205 MCFixupKind Kind = Fixup.getKind(); in applyFixup()
213 Value = adjustFixupValue(Fixup, Value, Ctx); in applyFixup()
218 unsigned Offset = Fixup.getOffset(); in applyFixup()
263 const MCFixup &Fixup, in shouldForceRelocation() argument
266 if (Fixup.getKind() >= FirstLiteralRelocationKind) in shouldForceRelocation()
268 switch (Fixup.getTargetKind()) { in shouldForceRelocation()
286 bool CSKYAsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup, in fixupNeedsRelaxation() argument