diff options
author | Nick Clifton <nickc@redhat.com> | 2003-08-08 10:14:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-08-08 10:14:52 +0000 |
commit | 3b260895e34c44f647aac36633959733e020e7fa (patch) | |
tree | e2459f6df6ef7e18363fc2892095692047ec40fe /gas | |
parent | ff85ab24ab5e9d9230a0859aed45c03b13bea246 (diff) | |
download | gdb-3b260895e34c44f647aac36633959733e020e7fa.zip gdb-3b260895e34c44f647aac36633959733e020e7fa.tar.gz gdb-3b260895e34c44f647aac36633959733e020e7fa.tar.bz2 |
Add MSP430 variants
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-msp430.c | 55 |
2 files changed, 40 insertions, 20 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index bc9f751..b1cf375 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-08-08 Dmitry Diky <diwil@mail.ru> + + * config/tc-msp430.c: Add xW42 and xE42 parts. Sort MPU list + according to gcc order. + 2003-08-07 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c (i860_check_label): New function. diff --git a/gas/config/tc-msp430.c b/gas/config/tc-msp430.c index 60728ee..0f8e32f 100644 --- a/gas/config/tc-msp430.c +++ b/gas/config/tc-msp430.c @@ -71,18 +71,19 @@ struct mcu_type_s }; #define MSP430_ISA_11 11 +#define MSP430_ISA_110 110 #define MSP430_ISA_12 12 #define MSP430_ISA_13 13 #define MSP430_ISA_14 14 -#define MSP430_ISA_41 41 +#define MSP430_ISA_15 15 +#define MSP430_ISA_16 16 #define MSP430_ISA_31 31 #define MSP430_ISA_32 32 #define MSP430_ISA_33 33 -#define MSP430_ISA_110 110 +#define MSP430_ISA_41 41 +#define MSP430_ISA_42 42 #define MSP430_ISA_43 43 #define MSP430_ISA_44 44 -#define MSP430_ISA_15 15 -#define MSP430_ISA_16 16 #define CHECK_RELOC_MSP430 ((imm_op || byte_op)?BFD_RELOC_MSP430_16_BYTE:BFD_RELOC_MSP430_16) #define CHECK_RELOC_MSP430_PCREL ((imm_op || byte_op)?BFD_RELOC_MSP430_16_PCREL_BYTE:BFD_RELOC_MSP430_16_PCREL) @@ -93,20 +94,32 @@ static struct mcu_type_s mcu_types[] = {"msp2", MSP430_ISA_14, bfd_mach_msp14}, {"msp430x110", MSP430_ISA_11, bfd_mach_msp11}, {"msp430x112", MSP430_ISA_11, bfd_mach_msp11}, - {"msp430x122", MSP430_ISA_12, bfd_mach_msp12}, - {"msp430x122", MSP430_ISA_12, bfd_mach_msp12}, - {"msp430x1222",MSP430_ISA_12, bfd_mach_msp12}, + {"msp430x1101",MSP430_ISA_110, bfd_mach_msp110}, + {"msp430x1111",MSP430_ISA_110, bfd_mach_msp110}, + {"msp430x1121",MSP430_ISA_110, bfd_mach_msp110}, {"msp430x1122",MSP430_ISA_11, bfd_mach_msp110}, {"msp430x1132",MSP430_ISA_11, bfd_mach_msp110}, + + {"msp430x122", MSP430_ISA_12, bfd_mach_msp12}, {"msp430x123", MSP430_ISA_12, bfd_mach_msp12}, + {"msp430x1222",MSP430_ISA_12, bfd_mach_msp12}, {"msp430x1232",MSP430_ISA_12, bfd_mach_msp12}, + {"msp430x133", MSP430_ISA_13, bfd_mach_msp13}, {"msp430x135", MSP430_ISA_13, bfd_mach_msp13}, + {"msp430x1331",MSP430_ISA_13, bfd_mach_msp13}, + {"msp430x1351",MSP430_ISA_13, bfd_mach_msp13}, {"msp430x147", MSP430_ISA_14, bfd_mach_msp14}, {"msp430x148", MSP430_ISA_14, bfd_mach_msp14}, {"msp430x149", MSP430_ISA_14, bfd_mach_msp14}, - {"msp430x412", MSP430_ISA_41, bfd_mach_msp41}, - {"msp430x413", MSP430_ISA_41, bfd_mach_msp41}, + + {"msp430x155", MSP430_ISA_15, bfd_mach_msp15}, + {"msp430x156", MSP430_ISA_15, bfd_mach_msp15}, + {"msp430x157", MSP430_ISA_15, bfd_mach_msp15}, + {"msp430x167", MSP430_ISA_16, bfd_mach_msp16}, + {"msp430x168", MSP430_ISA_16, bfd_mach_msp16}, + {"msp430x169", MSP430_ISA_16, bfd_mach_msp16}, + {"msp430x311", MSP430_ISA_31, bfd_mach_msp31}, {"msp430x312", MSP430_ISA_31, bfd_mach_msp31}, {"msp430x313", MSP430_ISA_31, bfd_mach_msp31}, @@ -116,23 +129,23 @@ static struct mcu_type_s mcu_types[] = {"msp430x325", MSP430_ISA_32, bfd_mach_msp32}, {"msp430x336", MSP430_ISA_33, bfd_mach_msp33}, {"msp430x337", MSP430_ISA_33, bfd_mach_msp33}, - {"msp430x1101",MSP430_ISA_110, bfd_mach_msp110}, - {"msp430x1111",MSP430_ISA_110, bfd_mach_msp110}, - {"msp430x1121",MSP430_ISA_110, bfd_mach_msp110}, - {"msp430x1331",MSP430_ISA_13, bfd_mach_msp13}, - {"msp430x1351",MSP430_ISA_13, bfd_mach_msp13}, + + {"msp430x412", MSP430_ISA_41, bfd_mach_msp41}, + {"msp430x413", MSP430_ISA_41, bfd_mach_msp41}, + + {"msp430xE423", MSP430_ISA_42, bfd_mach_msp42}, + {"msp430xE425", MSP430_ISA_42, bfd_mach_msp42}, + {"msp430xE427", MSP430_ISA_42, bfd_mach_msp42}, + {"msp430xW423", MSP430_ISA_42, bfd_mach_msp42}, + {"msp430xW425", MSP430_ISA_42, bfd_mach_msp42}, + {"msp430xW427", MSP430_ISA_42, bfd_mach_msp42}, + {"msp430x435", MSP430_ISA_43, bfd_mach_msp43}, {"msp430x436", MSP430_ISA_43, bfd_mach_msp43}, {"msp430x437", MSP430_ISA_43, bfd_mach_msp43}, {"msp430x447", MSP430_ISA_44, bfd_mach_msp44}, {"msp430x448", MSP430_ISA_44, bfd_mach_msp44}, {"msp430x449", MSP430_ISA_44, bfd_mach_msp44}, - {"msp430x167", MSP430_ISA_16, bfd_mach_msp16}, - {"msp430x168", MSP430_ISA_16, bfd_mach_msp16}, - {"msp430x169", MSP430_ISA_16, bfd_mach_msp16}, - {"msp430x155", MSP430_ISA_15, bfd_mach_msp15}, - {"msp430x156", MSP430_ISA_15, bfd_mach_msp15}, - {"msp430x157", MSP430_ISA_15, bfd_mach_msp15}, {NULL, 0, 0} }; @@ -196,6 +209,8 @@ md_show_usage (stream) " msp430x323 msp430x325\n" " msp430x336 msp430x337\n" " msp430x412 msp430x413\n" + " msp430xE423 msp430xE425 msp430E427\n" + " msp430xW423 msp430xW425 msp430W427\n" " msp430x435 msp430x436 msp430x437\n" " msp430x447 msp430x448 msp430x449\n")); |