[lld] [LLD][skip ci] Fix typo in linker_script.rst (PR #148867)

Ilija Tovilo via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 08:34:38 PDT 2025


https://github.com/iluuu1994 created https://github.com/llvm/llvm-project/pull/148867

None

>From d988c769fe772543bcf21e6265ecbc0139384bdf Mon Sep 17 00:00:00 2001
From: Ilija Tovilo <ilija.tovilo at me.com>
Date: Tue, 15 Jul 2025 17:32:30 +0200
Subject: [PATCH] [LLD][skip ci] Fix typo in linker_script.rst

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

diff --git a/lld/docs/ELF/linker_script.rst b/lld/docs/ELF/linker_script.rst
index c9cb47fc0553e..2fd4e1bb27bee 100644
--- a/lld/docs/ELF/linker_script.rst
+++ b/lld/docs/ELF/linker_script.rst
@@ -79,7 +79,7 @@ The description of an output section looks like:
 
 ::
 
-  section [address] [(type)] : [AT(lma)] [ALIGN(section_align)] [SUBALIGN](subsection_align)] {
+  section [address] [(type)] : [AT(lma)] [ALIGN(section_align)] [SUBALIGN(subsection_align)] {
     output-section-command
     ...
   } [>region] [AT>lma_region] [:phdr ...] [=fillexp] [,]



More information about the llvm-commits mailing list