diff options
author | Fangrui Song <i@maskray.me> | 2022-11-04 09:10:19 +0300 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-11-04 09:10:19 +0300 |
commit | cb30072a7211bc5b94d8d3d8d2e27a42a33d7a39 (patch) | |
tree | cc1f83e8ef6da4afe1df4dcf113fb023a8155155 /lld | |
parent | e604f88304e183d3ce46cea5ba6bfba2fe9fba36 (diff) |
[ELF] Fix duplicate work typo. NFC
Diffstat (limited to 'lld')
-rw-r--r-- | lld/ELF/AArch64ErrataFix.cpp | 2 | ||||
-rw-r--r-- | lld/ELF/SyntheticSections.cpp | 2 |
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; |