aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-03-22 11:34:26 +0000
committerNick Clifton <nickc@redhat.com>2016-03-22 11:34:26 +0000
commit96254e5c28ebcaaa89b4bdc24eab0a546dd269f2 (patch)
treedf82560ab734138a64110762c3a081fe89151320
parent7769fa97a0fe54a9455a9d96970373dbbf714458 (diff)
downloadgdb-96254e5c28ebcaaa89b4bdc24eab0a546dd269f2.zip
gdb-96254e5c28ebcaaa89b4bdc24eab0a546dd269f2.tar.gz
gdb-96254e5c28ebcaaa89b4bdc24eab0a546dd269f2.tar.bz2
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.
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/cpu-v850_rh850.c3
2 files changed, 5 insertions, 1 deletions
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 =