5.7.1.26 Text Option

The -mtext="scn-name[attributes]" option places text (program code) in a section named scn-name, rather than the default .text section. Additionally, comma-separated attributes can be specified along with the section name. No white space should appear around the = character in this option.

For example, the following command line option redirects the .text section into a section called MySectionName and specifies its link address.
xc32-gcc bootloader.c -mprocessor=32MX795F512L -mtext="MySectionName,address(0x9D00a000)"

This command is useful when used to map your code in a custom linker script as part of a bootloader project.