Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lld
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-11-04 09:10:19 +0300
committerFangrui Song <i@maskray.me>2022-11-04 09:10:19 +0300
commitcb30072a7211bc5b94d8d3d8d2e27a42a33d7a39 (patch)
treecc1f83e8ef6da4afe1df4dcf113fb023a8155155 /lld
parente604f88304e183d3ce46cea5ba6bfba2fe9fba36 (diff)
[ELF] Fix duplicate work typo. NFC
Diffstat (limited to 'lld')
-rw-r--r--lld/ELF/AArch64ErrataFix.cpp2
-rw-r--r--lld/ELF/SyntheticSections.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/AArch64ErrataFix.cpp b/lld/ELF/AArch64ErrataFix.cpp
index 41a29a7328c2..2d10bedfcb2e 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 12cfc97bf584..cb98a2daf942 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;