The options shown in the table 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 is not run.
Option | Controls |
---|---|
-llibrary |
Which library files are scanned |
-mserial=options |
The insertion of a serial number in the output |
-nodefaultlibs |
Whether library code is linked with the project |
-nostartfiles |
Whether the runtime startup module is linked in |
-nostdlib |
Whether the library and startup code is linked with the project |
-Wl,option |
Options to passed to the linker |
-Xlinker
option |
System-specific options to passed to the linker |
--fill=options |
Filling of unused memory |