[lld] e568ccc - [lld] Wrap rst file to 80 cols and fix "precense" typo

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 19 15:25:22 PDT 2022


Author: Nico Weber
Date: 2022-06-19T18:25:09-04:00
New Revision: e568cccb1fcc0c72d3e865608a35c231eaccefbe

URL: https://github.com/llvm/llvm-project/commit/e568cccb1fcc0c72d3e865608a35c231eaccefbe
DIFF: https://github.com/llvm/llvm-project/commit/e568cccb1fcc0c72d3e865608a35c231eaccefbe.diff

LOG: [lld] Wrap rst file to 80 cols and fix "precense" typo

Added: 
    

Modified: 
    lld/docs/ELF/linker_script.rst

Removed: 
    


################################################################################
diff  --git a/lld/docs/ELF/linker_script.rst b/lld/docs/ELF/linker_script.rst
index 085b3aa77186..bc2037595e5f 100644
--- a/lld/docs/ELF/linker_script.rst
+++ b/lld/docs/ELF/linker_script.rst
@@ -61,13 +61,16 @@ In the case where no linker script has been provided or every ``SECTIONS``
 command is followed by ``INSERT``, LLD applies built-in rules which are similar
 to GNU ld's internal linker scripts.
 
-- Align the first section in a ``PT_LOAD`` segment according to ``-z noseparate-code``,
-  ``-z separate-code``, or ``-z separate-loadable-segments``
-- Define ``__bss_start``, ``end``, ``_end``, ``etext``, ``_etext``, ``edata``, ``_edata``
-- Sort ``.ctors.*``/``.dtors.*``/``.init_array.*``/``.fini_array.*`` and PowerPC64 specific ``.toc``
+- Align the first section in a ``PT_LOAD`` segment according to
+  ``-z noseparate-code``, ``-z separate-code``, or
+  ``-z separate-loadable-segments``
+- Define ``__bss_start``, ``end``, ``_end``, ``etext``, ``_etext``, ``edata``,
+  ``_edata``
+- Sort ``.ctors.*``/``.dtors.*``/``.init_array.*``/``.fini_array.*`` and
+  PowerPC64 specific ``.toc``
 - Place input ``.text.*`` into output ``.text``, and handle certain variants
-  (``.text.hot.``, ``.text.unknown.``, ``.text.unlikely.``, etc) in the precense of
-  ``-z keep-text-section-prefix``.
+  (``.text.hot.``, ``.text.unknown.``, ``.text.unlikely.``, etc) in the
+  presence of ``-z keep-text-section-prefix``.
 
 Output section description
 ~~~~~~~~~~~~~~~~~~~~~~~~~~


        


More information about the llvm-commits mailing list