ARM Ltd. Windows GCC Linker > General

Use the General panel to specify the linker behaviour. The following table lists and describes the various options available on the General panel.

Table 1. ARM Ltd. Windows GCC Linker > General
Option Description
Script file (-T) This option passes the -T argument to the linker file
Do not use standard start files (-nostartfiles) This option passes the -nostartfiles argument to the linker file. It does not allow the use of the standard start files.
Do not use default libraries (-nodefaultlibs) This option passes the -nodefaultlibs argument to the linker file. It does not allow the use of the default libraries.
No startup or default libs (-nostdlib) This option passes the -nostdlib argument to the linker file. It does not allow the use of startup or default libs.
Remove unused sections (-Xlinker --gc-sections) This option passes the -Xlinker --gc-sections argument to the linker file. It removes the unused sections.
Print removed sections (-Xlinker --print-gc-sections) This option passes the -Xlinker --print-gc-sections argument to the linker file. It ptints the removed sections.
Omit all symbol information (-s) This option passes the -s argument to the linker file. This option omits all symbol information.