diff options
Diffstat (limited to 'devel/msp430-binutils/files/patch-gas::config::tc-msp430.c')
-rw-r--r-- | devel/msp430-binutils/files/patch-gas::config::tc-msp430.c | 39 |
1 files changed, 11 insertions, 28 deletions
diff --git a/devel/msp430-binutils/files/patch-gas::config::tc-msp430.c b/devel/msp430-binutils/files/patch-gas::config::tc-msp430.c index f533a2d78172..457adecc0cab 100644 --- a/devel/msp430-binutils/files/patch-gas::config::tc-msp430.c +++ b/devel/msp430-binutils/files/patch-gas::config::tc-msp430.c @@ -1,8 +1,6 @@ --- gas/config/tc-msp430.c.orig Tue Mar 4 19:34:40 2003 -+++ gas/config/tc-msp430.c Mon Aug 11 17:21:43 2003 -@@ -69,72 +69,85 @@ - int isa; - int mach; ++++ gas/config/tc-msp430.c Tue Feb 24 16:07:33 2004 +@@ -71,18 +71,19 @@ }; #define MSP430_ISA_11 11 @@ -26,10 +24,7 @@ #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) - - static struct mcu_type_s mcu_types[] = - { - {"msp1", MSP430_ISA_11, bfd_mach_msp11}, +@@ -93,20 +94,35 @@ {"msp2", MSP430_ISA_14, bfd_mach_msp14}, {"msp430x110", MSP430_ISA_11, bfd_mach_msp11}, {"msp430x112", MSP430_ISA_11, bfd_mach_msp11}, @@ -63,13 +58,14 @@ + {"msp430x167", MSP430_ISA_16, bfd_mach_msp16}, + {"msp430x168", MSP430_ISA_16, bfd_mach_msp16}, + {"msp430x169", MSP430_ISA_16, bfd_mach_msp16}, ++ {"msp430x1610", MSP430_ISA_16, bfd_mach_msp16}, ++ {"msp430x1611", MSP430_ISA_16, bfd_mach_msp16}, ++ {"msp430x1612", 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}, - {"msp430x314", MSP430_ISA_31, bfd_mach_msp31}, - {"msp430x315", MSP430_ISA_31, bfd_mach_msp31}, - {"msp430x323", MSP430_ISA_32, bfd_mach_msp32}, +@@ -116,23 +132,23 @@ {"msp430x325", MSP430_ISA_32, bfd_mach_msp32}, {"msp430x336", MSP430_ISA_33, bfd_mach_msp33}, {"msp430x337", MSP430_ISA_33, bfd_mach_msp33}, @@ -104,11 +100,7 @@ {NULL, 0, 0} }; - - -@@ -184,18 +197,22 @@ - " -mmcu=[msp430-name] select microcontroller type\n" - " msp430x110 msp430x112\n" +@@ -186,14 +202,19 @@ " msp430x1101 msp430x1111\n" " msp430x1121 msp430x1122 msp430x1132\n" " msp430x122 msp430x123\n" @@ -118,6 +110,7 @@ " msp430x147 msp430x148 msp430x149\n" " msp430x155 msp430x156 msp430x157\n" " msp430x167 msp430x168 msp430x169\n" ++ " msp430x1610 msp430x1611 msp430x1612\n" " msp430x311 msp430x312 msp430x313 msp430x314 msp430x315\n" " msp430x323 msp430x325\n" " msp430x336 msp430x337\n" @@ -127,11 +120,7 @@ " msp430x435 msp430x436 msp430x437\n" " msp430x447 msp430x448 msp430x449\n")); - show_mcu_list (stream); - } -@@ -977,15 +994,11 @@ - op->mode = OP_REG; - } +@@ -979,11 +1000,7 @@ else if (x == 4) { #ifdef PUSH_1X_WORKAROUND @@ -144,11 +133,7 @@ { /* Remove warning as confusing. as_warn(_("Hardware push bug workaround")); */ - } - else -@@ -998,15 +1011,11 @@ - } - } +@@ -1000,11 +1017,7 @@ else if (x == 8) { #ifdef PUSH_1X_WORKAROUND @@ -161,5 +146,3 @@ { /* Remove warning as confusing. as_warn(_("Hardware push bug workaround")); */ - } - else |