This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] [ARC] Remove duplicate ARC600 entry


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=37cd38778dfb73d28e533fd1ddabb88b4b3a5771

commit 37cd38778dfb73d28e533fd1ddabb88b4b3a5771
Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Date:   Fri Mar 17 16:43:31 2017 +0300

    [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.

Diff:
---
 bfd/ChangeLog |  4 ++++
 bfd/cpu-arc.c | 13 ++++++-------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8b113a0..1778a7a 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 807112e..83648f1 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),
 };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]