The previous mail was not a fix to the described bug, but this is a fix
the patch for half of the newest CPU with 4 digits has a conflict.

simple compilation leads to the following:
msp430-ld -m msp430x2274 [...]
msp430-ld: cannot represent machine `msp:220'


replace in binutils-2.17/bfd/cpu-msp430.c

  /* msp430x20x.  */
  N (16, bfd_mach_msp20, "msp:20", FALSE, & arch_info_struct[8]),

  /* msp430x21x.  */
  N (16, bfd_mach_msp21, "msp:21", FALSE, & arch_info_struct[9]),

  /* msp430x22x.  */
  N (16, bfd_mach_msp22, "msp:22", FALSE, & arch_info_struct[10]),


by

  /* msp430x20x.  */
  N (16, bfd_mach_msp20, "msp:200", FALSE, & arch_info_struct[8]),

  /* msp430x21x.  */
  N (16, bfd_mach_msp21, "msp:210", FALSE, & arch_info_struct[9]),

  /* msp430x22x.  */
  N (16, bfd_mach_msp22, "msp:220", FALSE, & arch_info_struct[10]),




Now I can link

Reply via email to