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 |
---|---|
--dinit-compress=level |
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. |
-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. |
-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. |