File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -438,12 +438,12 @@ class RISCVMCPlusBuilder : public MCPlusBuilder {
438438 return RISCVMCExpr::create (Expr, ELF::R_RISCV_PCREL_HI20, Ctx);
439439 case ELF::R_RISCV_PCREL_LO12_I:
440440 case ELF::R_RISCV_PCREL_LO12_S:
441- return RISCVMCExpr::create (Expr, RISCVMCExpr::VK_PCREL_LO , Ctx);
441+ return RISCVMCExpr::create (Expr, RISCV::S_PCREL_LO , Ctx);
442442 case ELF::R_RISCV_HI20:
443443 return RISCVMCExpr::create (Expr, ELF::R_RISCV_HI20, Ctx);
444444 case ELF::R_RISCV_LO12_I:
445445 case ELF::R_RISCV_LO12_S:
446- return RISCVMCExpr::create (Expr, RISCVMCExpr::VK_LO , Ctx);
446+ return RISCVMCExpr::create (Expr, RISCV::S_LO , Ctx);
447447 case ELF::R_RISCV_CALL:
448448 return RISCVMCExpr::create (Expr, ELF::R_RISCV_CALL_PLT, Ctx);
449449 case ELF::R_RISCV_CALL_PLT:
You can’t perform that action at this time.
0 commit comments