projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6a220
)
fix comment typo to cycle bots
author
Nico Weber
<thakis@chromium.org>
Sat, 9 Jul 2022 20:41:58 +0000
(22:41 +0200)
committer
Nico Weber
<thakis@chromium.org>
Sat, 9 Jul 2022 20:41:58 +0000
(22:41 +0200)
lld/ELF/Arch/RISCV.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Arch/RISCV.cpp
b/lld/ELF/Arch/RISCV.cpp
index
7031c65
..
7553a53
100644
(file)
--- 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);
- // Sub
s
tract 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;