diff options
Diffstat (limited to 'lld/ELF/Arch/RISCV.cpp')
-rw-r--r-- | lld/ELF/Arch/RISCV.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lld/ELF/Arch/RISCV.cpp b/lld/ELF/Arch/RISCV.cpp index 72d8315..ba0584b 100644 --- a/lld/ELF/Arch/RISCV.cpp +++ b/lld/ELF/Arch/RISCV.cpp @@ -942,9 +942,6 @@ static bool relax(Ctx &ctx, int pass, InputSection &sec) { // relaxation pass. bool RISCV::relaxOnce(int pass) const { llvm::TimeTraceScope timeScope("RISC-V relaxOnce"); - if (ctx.arg.relocatable) - return false; - if (pass == 0) initSymbolAnchors(ctx); |