Restore v850-rh850 as a recognised v850 architecture name for backwards compatibility.
authorNick Clifton <nickc@redhat.com>
Tue, 22 Mar 2016 11:34:26 +0000 (11:34 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 22 Mar 2016 11:34:26 +0000 (11:34 +0000)
bfd * cpu-v850_rh850.c (arch_info_struct): Restore v850-rh850 as an
architecture name for backwards compatibility.

bfd/ChangeLog
bfd/cpu-v850_rh850.c

index a34bc4663b33215a97af70b7ecc156a5e1226bfb..8397f8c184d2ad6fea4213b5d48fa06d32f62b5b 100644 (file)
@@ -1,5 +1,8 @@
 2016-03-22  Nick Clifton  <nickc@redhat.com>
 
+       * cpu-v850_rh850.c (arch_info_struct): Restore v850-rh850 as an
+       architecture name for backwards compatibility.
+
        * peXXigen.c (_bfd_XXi_write_codeview_record): Fix possible
        unbounded stack use.
 
index e86749b4a6bb3d0b5d1f28f4c45feeda55f483a3..5639e914cf65ac0bf1474c7c569e3acf564ff169 100644 (file)
@@ -34,7 +34,8 @@ static const bfd_arch_info_type arch_info_struct[] =
   R (bfd_mach_v850e2v3, "v850e2v3",    FALSE, & arch_info_struct[3]),
   R (bfd_mach_v850e2,   "v850e2",      FALSE, & arch_info_struct[4]),
   R (bfd_mach_v850e1,   "v850e1",      FALSE, & arch_info_struct[5]),
-  R (bfd_mach_v850e,    "v850e",       FALSE, NULL)
+  R (bfd_mach_v850e,    "v850e",       FALSE, & arch_info_struct[6]),
+  R (bfd_mach_v850,     "v850-rh850",   FALSE, NULL) /* For backwards compatibility.  */
 };
 
 const bfd_arch_info_type bfd_v850_rh850_arch =