From 37cd38778dfb73d28e533fd1ddabb88b4b3a5771 Mon Sep 17 00:00:00 2001
From: Anton Kolesov <Anton.Kolesov@synopsys.com>
Date: Fri, 17 Mar 2017 16:43:31 +0300
Subject: [PATCH] [ARC] Remove duplicate ARC600 entry

ARC600 is already defined as the head of the bfd_arch_arc.

bfd/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* cpu-arc.c (arch_info_struct): Remove duplicate ARC600 entry.
---
 bfd/ChangeLog |  4 ++++
 bfd/cpu-arc.c | 13 ++++++-------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8b113a01cf2..1778a7ab1b4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2017-05-30  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+	* cpu-arc.c (arch_info_struct): Remove duplicate ARC600 entry.
+
 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR binutils/21519
diff --git a/bfd/cpu-arc.c b/bfd/cpu-arc.c
index 807112ee961..83648f10946 100644
--- a/bfd/cpu-arc.c
+++ b/bfd/cpu-arc.c
@@ -42,13 +42,12 @@
 
 static const bfd_arch_info_type arch_info_struct[] =
 {
-  ARC (bfd_mach_arc_arc600, "ARC600", FALSE, &arch_info_struct[1]),
-  ARC (bfd_mach_arc_arc600, "A6"    , FALSE, &arch_info_struct[2]),
-  ARC (bfd_mach_arc_arc601, "ARC601", FALSE, &arch_info_struct[3]),
-  ARC (bfd_mach_arc_arc700, "ARC700", FALSE, &arch_info_struct[4]),
-  ARC (bfd_mach_arc_arc700, "A7",     FALSE, &arch_info_struct[5]),
-  ARC (bfd_mach_arc_arcv2,  "ARCv2",  FALSE, &arch_info_struct[6]),
-  ARC (bfd_mach_arc_arcv2,  "EM",     FALSE, &arch_info_struct[7]),
+  ARC (bfd_mach_arc_arc600, "A6"    , FALSE, &arch_info_struct[1]),
+  ARC (bfd_mach_arc_arc601, "ARC601", FALSE, &arch_info_struct[2]),
+  ARC (bfd_mach_arc_arc700, "ARC700", FALSE, &arch_info_struct[3]),
+  ARC (bfd_mach_arc_arc700, "A7",     FALSE, &arch_info_struct[4]),
+  ARC (bfd_mach_arc_arcv2,  "ARCv2",  FALSE, &arch_info_struct[5]),
+  ARC (bfd_mach_arc_arcv2,  "EM",     FALSE, &arch_info_struct[6]),
   ARC (bfd_mach_arc_arcv2,  "HS",     FALSE, NULL),
 };