[lld] Typo fix in large_sections.rst (PR #120101)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 08:02:26 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lld

Author: Ivan G. (dreamos82)

<details>
<summary>Changes</summary>

Remove duplicate word.

---
Full diff: https://github.com/llvm/llvm-project/pull/120101.diff


1 Files Affected:

- (modified) lld/docs/ELF/large_sections.rst (+1-1) 


``````````diff
diff --git a/lld/docs/ELF/large_sections.rst b/lld/docs/ELF/large_sections.rst
index 5dccb3373e1c96..bdde1d122b4a70 100644
--- a/lld/docs/ELF/large_sections.rst
+++ b/lld/docs/ELF/large_sections.rst
@@ -29,7 +29,7 @@ to them.
 Large globals are placed in separate sections from small globals, and those
 sections have a "large" section flag, e.g. ``SHF_X86_64_LARGE`` for x86-64. The
 linker places large sections on the outer edges of the binary, making sure they
-do not affect affect the distance of small globals to text. The large versions
+do not affect the distance of small globals to text. The large versions
 of ``.rodata``, ``.bss``, and ``.data`` are ``.lrodata``, ``.lbss``, and
 ``.ldata``, and they are laid out as follows:
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/120101


More information about the llvm-commits mailing list