Skip to content

Commit ec12ecd

Browse files
committed
Addressing review feedback
1 parent 0b91fcc commit ec12ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ bool MipsAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
21092109
warnIfNoMacro(IDLoc);
21102110

21112111
if (!Inst.getOperand(0).isExpr()) {
2112-
return Error(IDLoc, "jal needs a symbolic expression in PIC mode");
2112+
return Error(IDLoc, "unsupported constant in relocation");
21132113
}
21142114

21152115
const MCExpr *JalExpr = Inst.getOperand(0).getExpr();

0 commit comments

Comments
 (0)