From 96254e5c28ebcaaa89b4bdc24eab0a546dd269f2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 22 Mar 2016 11:34:26 +0000 Subject: [PATCH] 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. --- 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 a34bc4663b3..8397f8c184d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ 2016-03-22 Nick Clifton + * 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 e86749b4a6b..5639e914cf6 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 = -- 2.30.2