msp430.h (TARGET_CPU_CPP_BUILTINS): Define the name returned by msp430_mcu_name.
authorNick Clifton <nickc@gcc.gnu.org>
Wed, 6 Nov 2013 09:03:35 +0000 (09:03 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 6 Nov 2013 09:03:35 +0000 (09:03 +0000)
commit50cfbf99154d0b0b157e9d5b2a3dc616d1354ffb
treea695397d72bb65673ddb5dfdad52117ceda13b57
parent2599016338e60ee13e85066a56a729eeee1d1c6a
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
gcc/ChangeLog
gcc/config/msp430/msp430-protos.h
gcc/config/msp430/msp430.c
gcc/config/msp430/msp430.h
gcc/config/msp430/t-msp430