[lld] cb30072 - [ELF] Fix duplicate work typo. NFC
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 3 23:10:24 PDT 2022
Author: Fangrui Song
Date: 2022-11-03T23:10:19-07:00
New Revision: cb30072a7211bc5b94d8d3d8d2e27a42a33d7a39
URL: https://github.com/llvm/llvm-project/commit/cb30072a7211bc5b94d8d3d8d2e27a42a33d7a39
DIFF: https://github.com/llvm/llvm-project/commit/cb30072a7211bc5b94d8d3d8d2e27a42a33d7a39.diff
LOG: [ELF] Fix duplicate work typo. NFC
Added:
Modified:
lld/ELF/AArch64ErrataFix.cpp
lld/ELF/SyntheticSections.cpp
Removed:
################################################################################
diff --git a/lld/ELF/AArch64ErrataFix.cpp b/lld/ELF/AArch64ErrataFix.cpp
index 41a29a7328c28..2d10bedfcb2eb 100644
--- a/lld/ELF/AArch64ErrataFix.cpp
+++ b/lld/ELF/AArch64ErrataFix.cpp
@@ -55,7 +55,7 @@ static bool isADRP(uint32_t instr) {
return (instr & 0x9f000000) == 0x90000000;
}
-// Load and store bit patterns from ARMv8-A ARM ARM.
+// Load and store bit patterns from ARMv8-A.
// Instructions appear in order of appearance starting from table in
// C4.1.3 Loads and Stores.
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index 12cfc97bf5848..cb98a2daf9428 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -3651,7 +3651,7 @@ size_t PPC64LongBranchTargetSection::getSize() const {
void PPC64LongBranchTargetSection::writeTo(uint8_t *buf) {
// If linking non-pic we have the final addresses of the targets and they get
// written to the table directly. For pic the dynamic linker will allocate
- // the section and fill it it.
+ // the section and fill it.
if (config->isPic)
return;
More information about the llvm-commits
mailing list