Lines Matching refs:Ctx
37 MCSectionELF *getMemtagRelocsSection(MCContext &Ctx) const override;
40 unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
63 MCContext &Ctx) { in isNonILP32reloc() argument
68 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G3)); in isNonILP32reloc()
71 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2)); in isNonILP32reloc()
74 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G2)); in isNonILP32reloc()
77 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G2_NC)); in isNonILP32reloc()
80 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_SABS_G1)); in isNonILP32reloc()
83 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(MOVW_UABS_G1_NC)); in isNonILP32reloc()
86 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G2)); in isNonILP32reloc()
89 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLD_MOVW_DTPREL_G1_NC)); in isNonILP32reloc()
92 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G2)); in isNonILP32reloc()
95 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSLE_MOVW_TPREL_G1_NC)); in isNonILP32reloc()
98 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSIE_MOVW_GOTTPREL_G1)); in isNonILP32reloc()
101 Ctx.reportError(Fixup.getLoc(), BAD_ILP32_MOV(TLSIE_MOVW_GOTTPREL_G0_NC)); in isNonILP32reloc()
109 unsigned AArch64ELFObjectWriter::getRelocType(MCContext &Ctx, in getRelocType() argument
134 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported"); in getRelocType()
145 Ctx.reportError(Fixup.getLoc(), in getRelocType()
153 Ctx.reportError(Fixup.getLoc(), in getRelocType()
161 Ctx.reportError(Fixup.getLoc(), in getRelocType()
175 Ctx.reportError(Fixup.getLoc(), in getRelocType()
191 Ctx.reportError(Fixup.getLoc(), in getRelocType()
197 Ctx.reportError(Fixup.getLoc(), "Unsupported pc-relative fixup kind"); in getRelocType()
201 if (IsILP32 && isNonILP32reloc(Fixup, RefKind, Ctx)) in getRelocType()
205 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported"); in getRelocType()
216 Ctx.reportError(Fixup.getLoc(), in getRelocType()
244 Ctx.reportError(Fixup.getLoc(), in getRelocType()
259 Ctx.reportError(Fixup.getLoc(), in getRelocType()
274 Ctx.reportError(Fixup.getLoc(), in getRelocType()
292 Ctx.reportError(Fixup.getLoc(), in getRelocType()
300 Ctx.reportError(Fixup.getLoc(), in getRelocType()
304 Ctx.reportError(Fixup.getLoc(), in getRelocType()
315 Ctx.reportError(Fixup.getLoc(), in getRelocType()
326 Ctx.reportError(Fixup.getLoc(), in getRelocType()
333 Ctx.reportError(Fixup.getLoc(), in getRelocType()
348 Ctx.reportError(Fixup.getLoc(), "ILP32 64-bit load/store " in getRelocType()
366 Ctx.reportError(Fixup.getLoc(), "ILP32 64-bit load/store " in getRelocType()
376 Ctx.reportError(Fixup.getLoc(), "ILP32 64-bit load/store " in getRelocType()
382 Ctx.reportError(Fixup.getLoc(), in getRelocType()
397 Ctx.reportError(Fixup.getLoc(), in getRelocType()
460 Ctx.reportError(Fixup.getLoc(), in getRelocType()
464 Ctx.reportError(Fixup.getLoc(), "Unknown ELF relocation type"); in getRelocType()
479 AArch64ELFObjectWriter::getMemtagRelocsSection(MCContext &Ctx) const { in getMemtagRelocsSection()
480 return Ctx.getELFSection(".memtag.globals.static", in getMemtagRelocsSection()