5.7.10.6 T: Use Linker Script Option

The -T script option specifies a linker script to use when linking.

Ordinarily, the linker will use a default device-specific linker script obtained from the compiler installation or when building with the -mdfp option, a linker script packaged in the specified device family pack (DFP). The -T option allows you to specify an application-specific linker script to use. The MPLAB X IDE uses this option when you add a linker script to your project.