fix comment typo to cycle bots
authorNico Weber <thakis@chromium.org>
Sat, 9 Jul 2022 20:41:58 +0000 (22:41 +0200)
committerNico Weber <thakis@chromium.org>
Sat, 9 Jul 2022 20:41:58 +0000 (22:41 +0200)
lld/ELF/Arch/RISCV.cpp

index 7031c65..7553a53 100644 (file)
@@ -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;