Lines Matching defs:Loc

45 static unsigned getAbsoluteReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) {
66 Ctx.reportError(Loc, "Unsupported absolute address");
71 static unsigned getPCRelReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) {
92 Ctx.reportError(Loc, "Unsupported PC-relative address");
97 static unsigned getTLSLEReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) {
102 Ctx.reportError(Loc, "Unsupported thread-local address (local-exec)");
107 static unsigned getTLSLDOReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) {
112 Ctx.reportError(Loc, "Unsupported thread-local address (local-dynamic)");
117 static unsigned getTLSLDMReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) {
123 Ctx.reportError(Loc, "Unsupported thread-local address (local-dynamic)");
128 static unsigned getTLSGDReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) {
134 Ctx.reportError(Loc, "Unsupported thread-local address (general-dynamic)");
139 static unsigned getPLTReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) {
146 Ctx.reportError(Loc, "Unsupported PC-relative PLT address");
154 SMLoc Loc = Fixup.getLoc();
162 return getPCRelReloc(Ctx, Loc, Kind);
163 return getAbsoluteReloc(Ctx, Loc, Kind);
167 return getTLSLEReloc(Ctx, Loc, Kind);
172 Ctx.reportError(Loc, "Only PC-relative INDNTPOFF accesses are supported for now");
177 return getTLSLDOReloc(Ctx, Loc, Kind);
181 return getTLSLDMReloc(Ctx, Loc, Kind);
185 return getTLSGDReloc(Ctx, Loc, Kind);
191 Ctx.reportError(Loc, "Only PC-relative GOT accesses are supported for now");
196 return getPLTReloc(Ctx, Loc, Kind);