ld and MSP430For the MSP430 it is possible to select the MPU architecture. The flag -m [mpu type]
will select an appropriate linker script for selected MPU type. (To get a list of known MPUs
just pass -m help option to the linker).
The linker will recognize some extra sections which are MSP430 specific:
.vectors
.bootloader
.infomem
.infomemnobits
.infomem section except that any code
in this section will not be uploaded to the MPU.
.noinit
.bss section.
The last two sections are used by gcc.