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 {
438
438
return RISCVMCExpr::create (Expr, ELF::R_RISCV_PCREL_HI20, Ctx);
439
439
case ELF::R_RISCV_PCREL_LO12_I:
440
440
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);
442
442
case ELF::R_RISCV_HI20:
443
443
return RISCVMCExpr::create (Expr, ELF::R_RISCV_HI20, Ctx);
444
444
case ELF::R_RISCV_LO12_I:
445
445
case ELF::R_RISCV_LO12_S:
446
- return RISCVMCExpr::create (Expr, RISCVMCExpr::VK_LO , Ctx);
446
+ return RISCVMCExpr::create (Expr, RISCV::S_LO , Ctx);
447
447
case ELF::R_RISCV_CALL:
448
448
return RISCVMCExpr::create (Expr, ELF::R_RISCV_CALL_PLT, Ctx);
449
449
case ELF::R_RISCV_CALL_PLT:
You can’t perform that action at this time.
0 commit comments