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

Ivan G. via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 08:01:35 PST 2024


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

Remove duplicate word.

>From ce2ea48eb609d296c267ea37e90fb57de2445816 Mon Sep 17 00:00:00 2001
From: "Ivan G." <59960116+dreamos82 at users.noreply.github.com>
Date: Mon, 16 Dec 2024 16:00:03 +0000
Subject: [PATCH] Update large_sections.rst

---
 lld/docs/ELF/large_sections.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
 



More information about the llvm-commits mailing list