Lines Matching +full:non +full:- +full:linear

11 ------------------
17 ``wasm32-unknown-unknown`` target.
20 -----
22 The WebAssembly version of lld is installed as **wasm-ld**. It shared many
24 WebAssembly-specific options:
26 .. option:: --no-entry
30 .. option:: --export-table
34 .. option:: --import-table
38 .. option:: --export-all
40 Export all symbols (normally combined with --no-gc-sections)
42 Note that this will not export linker-generated mutable globals unless
43 the resulting binaryen already includes the 'mutable-globals' features
46 .. option:: --export-dynamic
48 When building an executable, export any non-hidden symbols. By default only
50 or via the `export-name` source attribute) are exported.
52 .. option:: --global-base=<value>
56 .. option:: --no-merge-data-segments
60 .. option:: --stack-first
62 Place stack at start of linear memory rather than after data.
64 .. option:: --compress-relocations
66 Relocation targets in the code section are 5-bytes wide in order to
72 .. option:: --allow-undefined
75 flag which corresponds to ``--unresolve-symbols=ignore`` +
76 ``--import-undefined``.
78 .. option:: --allow-undefined-file=<filename>
80 Like ``--allow-undefined``, but the filename specified a flat list of
83 .. option:: --unresolved-symbols=<method>
85 This is a more full featured version of ``--allow-undefined``.
88 report-all:
92 option ``--warn-unresolved-symbols`` can change this to a warning.
94 ignore-all:
100 import-dynamic:
103 symbols. This is somewhat similar to the --import-undefined option but
108 this means inputs should be compiled with `-fPIC` (i.e. `pic` or
109 `dynamic-no-pic` relocation models). This options is useful for linking
110 binaries that are themselves static (non-relocatable) but whose undefined
112 experimental, this option currently requires `--experimental-pic` to also
115 .. option:: --import-memory
119 .. option:: --import-undefined
124 still be reported as normal (in accordance with ``--unresolved-symbols``).
126 .. option:: --initial-heap=<value>
130 .. option:: --initial-memory=<value>
132 Initial size of the linear memory. Default: the sum of stack, static data and heap sizes.
134 .. option:: --max-memory=<value>
136 Maximum size of the linear memory. Default: unlimited.
138 .. option:: --no-growable-memory
140 Set maximum size of the linear memory to its initial size, disallowing memory growth.
146 ---------
160 uncommon to find this in real-world C/C++ programs. For example, a call site in
165 mismatches: it can simply error-out or it can create stub functions that will
170 a warning. The ``--fatal-warnings`` flag can be used to disable this behaviour
181 ``WASM_SYMBOL_EXPORTED`` flag is set by the ``wasm-export-name`` attribute which
185 ``--export`` (which will error if the symbol is not found) or
186 ``--export-if-defined`` (which will not).
188 Finally, just like with native ELF linker the ``--export-dynamic`` flag can be
196 ``--allow-undefined`` results in a WebAssembly import being defined for each
198 ``--allow-undefined-file`` is the same but allows a list of symbols to be
212 library is a stand-in for a set of symbols that will be available at runtime,
235 ``--gc-sections`` which means that all unused functions and data segments will
240 - The entry point (by default ``_start``).
241 - Any symbol which is to be exported.
242 - Any symbol transitively referenced by the above.
254 on ``unreachable`` inside and linker-generated function called
258 ----------------
260 - Merging of data section similar to ``SHF_MERGE`` in the ELF world is not
262 - No support for creating shared libraries. The spec for shared libraries in
264 https://github.com/WebAssembly/tool-conventions/blob/main/DynamicLinking.md
266 .. _linking: https://github.com/WebAssembly/tool-conventions/blob/main/Linking.md