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

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 08:35:26 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lld-elf

Author: Ilija Tovilo (iluuu1994)

<details>
<summary>Changes</summary>



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


1 Files Affected:

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


``````````diff
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] [,]

``````````

</details>


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


More information about the llvm-commits mailing list