Skip to content

Commit e568ccc

Browse files
committed
[lld] Wrap rst file to 80 cols and fix "precense" typo
1 parent 7effcbd commit e568ccc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

lld/docs/ELF/linker_script.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,16 @@ In the case where no linker script has been provided or every ``SECTIONS``
6161
command is followed by ``INSERT``, LLD applies built-in rules which are similar
6262
to GNU ld's internal linker scripts.
6363

64-
- Align the first section in a ``PT_LOAD`` segment according to ``-z noseparate-code``,
65-
``-z separate-code``, or ``-z separate-loadable-segments``
66-
- Define ``__bss_start``, ``end``, ``_end``, ``etext``, ``_etext``, ``edata``, ``_edata``
67-
- Sort ``.ctors.*``/``.dtors.*``/``.init_array.*``/``.fini_array.*`` and PowerPC64 specific ``.toc``
64+
- Align the first section in a ``PT_LOAD`` segment according to
65+
``-z noseparate-code``, ``-z separate-code``, or
66+
``-z separate-loadable-segments``
67+
- Define ``__bss_start``, ``end``, ``_end``, ``etext``, ``_etext``, ``edata``,
68+
``_edata``
69+
- Sort ``.ctors.*``/``.dtors.*``/``.init_array.*``/``.fini_array.*`` and
70+
PowerPC64 specific ``.toc``
6871
- Place input ``.text.*`` into output ``.text``, and handle certain variants
69-
(``.text.hot.``, ``.text.unknown.``, ``.text.unlikely.``, etc) in the precense of
70-
``-z keep-text-section-prefix``.
72+
(``.text.hot.``, ``.text.unknown.``, ``.text.unlikely.``, etc) in the
73+
presence of ``-z keep-text-section-prefix``.
7174

7275
Output section description
7376
~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)