Lines Matching +full:docs +full:- +full:lld +full:- +full:html
1 -z start-stop-gc
4 If your ``-Wl,--gc-sections`` build fail with a linker error like this:
8 …mbol needs to be retained under --gc-sections properly; consider -z nostart-stop-gc (see https://l…
11 suffice under ``--gc-sections``.
20 GNU ld 2.37 added ``-z start-stop-gc`` to restore the traditional behavior
21 ld.lld 13.0.0 defaults to ``-z start-stop-gc`` and supports ``-z nostart-stop-gc``
25 allowed GC (like ``-z start-stop-gc``).
28 -----------------------------------
33 .. code-block:: c
42 .. code-block:: c
45 #pragma GCC diagnostic ignored "-Wattributes"
51 so ``-Wattributes`` may need to be ignored. On ELF targets,
53 linker ``--gc-sections``.
57 .. code-block:: c
60 _Pragma("GCC diagnostic ignored \"-Wattributes\"")
65 `the ``KEEP`` keyword <https://sourceware.org/binutils/docs/ld/Input-Section-Keep.html>`_, e.g.