From 109d7fb4e6e36f5927495cd2a2f23af6b85e80c9 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 9 Jul 2022 22:41:58 +0200 Subject: [PATCH] fix comment typo to cycle bots --- lld/ELF/Arch/RISCV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/Arch/RISCV.cpp b/lld/ELF/Arch/RISCV.cpp index 7031c65..7553a53 100644 --- a/lld/ELF/Arch/RISCV.cpp +++ b/lld/ELF/Arch/RISCV.cpp @@ -743,7 +743,7 @@ void elf::riscvFinalizeRelax(int passes) { } memcpy(p, old.data() + offset, old.size() - offset); - // Substract the previous relocDeltas value from the relocation offset. + // Subtract the previous relocDeltas value from the relocation offset. // For a pair of R_RISCV_CALL/R_RISCV_RELAX with the same offset, decrease // their r_offset by the same delta. delta = 0; -- 2.7.4