Next: PowerPC ELF32, Previous: MMIX, Up: Machine Dependent
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'`.noinit'The last two sections are used by gcc.
The `--no-enum-size-warning' switch prevents the linker from warning when linking object files that specify incompatible EABI enumeration size attributes. For example, with this switch enabled, linking of an object file using 32-bit enumeration values with another using enumeration values fitted into the smallest possible space will not be diagnosed.