msp430.h (TARGET_CPU_CPP_BUILTINS): Define the name returned by msp430_mcu_name.
* config/msp430/msp430.h (TARGET_CPU_CPP_BUILTINS): Define the name returned by msp430_mcu_name. (LIB_SPEC): If a -T option has not been specified then set a default, mcu-specific, linker script. * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more mcu names. * config/msp430/msp430.c (msp430x_names): Likewise. Alpha sort the names for ease of comparison. (msp430_mcu_name): New function: Returns a string suitable for use as a C preprocessor symbol based upon the name of the MCU being targeted. (msp430_option_override): Accept msp430x and msp430xv2 as generic mcu names. * config/msp430/msp430-protos.h (msp430_mcu_name): Prototype. From-SVN: r204447
Showing
Please
register
or
sign in
to comment