8.3.18 T: Specify Linker Script Option

The -T file option or its alias --script file reads commands from the specified linker script.

Commands read in from the spcified script replace the linker’s default linker script (rather than adding to it), so file must specify everything necessary to describe the target format. If file does not exist, the linker looks for it in the directories specified by any preceding -L options. Multiple -T options accumulate.