Lines Matching +full:implementation +full:- +full:defined

1 Linker Script implementation notes and policy
5 implementation policy is to implement linker script features as they are
7 We consider it a bug if the lld implementation does not agree with the manual
11 an implementation. In particular some features are only defined by the
12 implementation and have changed over time.
14 The lld implementation policy for properties of linker scripts that are not
15 defined by the documentation is to follow the GNU ld implementation wherever
16 possible. We reserve the right to make different implementation choices where
30 The first form defines ``symbol``. If ``symbol`` is already defined, it will be
31 overridden. The other form requires ``symbol`` to be already defined.
47 section-command
48 section-command
52 Each section-command can be a symbol assignment, an output section description,
61 command is followed by ``INSERT``, LLD applies built-in rules which are similar
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``,
69 - Sort ``.ctors.*``/``.dtors.*``/``.init_array.*``/``.fini_array.*`` and
71 - Place input ``.text.*`` into output ``.text``, and handle certain variants
73 presence of ``-z keep-text-section-prefix``.
83 output-section-command
88 ----------------------
107 preceding output section with non-empty input sections also has the SHF_WRITE
111 -------------------
116 - ``NOLOAD``: set ``sh_type`` to ``SHT_NOBITS``.
117 - ``COPY``, ``INFO``, ``OVERLAY``: clear the ``SHF_ALLOC`` bit in ``sh_flags``.
118 - ``TYPE=<value>``: set ``sh_type`` to the specified value. ``<value>`` must be
126 ------------------------
136 ------------------
140 - ``AT(lma)`` specifies the exact load address. If the linker script does not
142 - ``AT>lma_region`` specifies the LMA region. The lack of ``AT>lma_region``
154 - If the previous section is also in the default LMA region, and the two
157 - Otherwise, the LMA is set to the VMA.
167 output-section-description
168 output-section-description
173 section order or suppress the built-in rules.
186 Built-in functions
190 segment when ``-z relro`` (default) is in effect. Sections between
194 writable but non-RELRO sections. LLD ignores ``offset`` and ``exp`` and aligns
195 the current location to a max-page-size boundary, ensuring that the next
201 Non-contiguous regions
204 The flag ``--enable-non-contiguous-regions`` allows input sections to spill to
206 region. Unlike GNU ld, ``/DISCARD/`` only matches previously-unmatched sections
209 GNU flag ``--enable-non-contiguous-regions-warnings`` is not implemented, as it