This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Restore v850-rh850 as a recognised v850 architecture name for backwards compatibility.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 22 Mar 2016 11:35:00 -0000
- Subject: [binutils-gdb] Restore v850-rh850 as a recognised v850 architecture name for backwards compatibility.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=96254e5c28ebcaaa89b4bdc24eab0a546dd269f2
commit 96254e5c28ebcaaa89b4bdc24eab0a546dd269f2
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Mar 22 11:34:26 2016 +0000
Restore v850-rh850 as a recognised v850 architecture name for backwards compatibility.
bfd * cpu-v850_rh850.c (arch_info_struct): Restore v850-rh850 as an
architecture name for backwards compatibility.
Diff:
---
bfd/ChangeLog | 3 +++
bfd/cpu-v850_rh850.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a34bc46..8397f8c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/cpu-v850_rh850.c b/bfd/cpu-v850_rh850.c
index e86749b..5639e91 100644
--- a/bfd/cpu-v850_rh850.c
+++ b/bfd/cpu-v850_rh850.c
@@ -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 =