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 a34bc46..8397f8c 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 e86749b..5639e91 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 =