The command language provides explicit control over the link process, allowing complete specification of the mapping between the linker's input files and its output. It controls:
You may supply a command file (also known as a linker script) to the
linker either explicitly through the `-T' option, or implicitly as
an ordinary file. Normally you should use the `-T' option. An
implicit linker script should only be used when you want to augment,
rather than replace, the default linker script; typically an implicit
linker script would consist only of
If the linker opens a file which it cannot recognize as a supported
object or archive format, nor as a linker script, it reports an error.
Go to the first, previous, next, last section, table of contents.