5.7.10 Options for Linking
The options tabulated below control linker operations and are discussed in the sections that
follow. If any of the options -c
, -S
or
-E
are used, the linker will not be executed.
Option | Definition |
---|---|
-Wl,--dinit-compression=level | Linker option that applies optimizations of the specified level to
the data initialization template, which initializes objects and
ramfunc functions in RAM. |
--fill=options | A memory-fill option to be passed on to the linker. |
| Search the library named library
when linking. |
-nodefaultlibs | Do not use the standard system libraries when linking. |
-mno-info-linker | Suppresses some linker advisory messages. |
-nostdlib | Do not use the standard system start-up files or libraries when linking. |
-relaxed-math | Link in a relaxed-compliance math library. |
-s | Remove all symbol table and relocation information from the output. |
-T script | Specify linker script. |
-u symbol | Add an undefined symbol that will be present at link stage. |
-Wl,option | Pass options to the linker. |
-Xlinker
option | Pass system-specific options to the linker. |