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] Change the default architecture value for ARC bfds so that they have the lowest possible value, and


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

commit bdbca4e6f805c73796c14c79102a8f1ea541d633
Author: Cupertino Miranda <Cupertino.Miranda@synopsys.com>
Date:   Fri Feb 5 09:58:01 2016 +0000

    Change the default architecture value for ARC bfds so that they have the lowest possible value, and hence can be merged with other ARC binaries wihtout changing their architecture value.
    
    bfd	* cpu-arc.c: Change default archure from bfd_mach_arc_arcv2
    	to bfd_mach_arc_arc600.
    
    binutils * testsuite/binutils-all/objdump.exp: Update expected default
    	architecture value for ARC binaries.

Diff:
---
 bfd/ChangeLog                               | 5 +++++
 bfd/cpu-arc.c                               | 2 +-
 binutils/ChangeLog                          | 7 ++++++-
 binutils/testsuite/binutils-all/objdump.exp | 2 +-
 4 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 93bfe05..e378a3e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
+
+	* cpu-arc.c: Change default archure from bfd_mach_arc_arcv2
+	to bfd_mach_arc_arc600.
+
 2016-02-04  Alan Modra  <amodra@gmail.com>
 
 	* elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch
diff --git a/bfd/cpu-arc.c b/bfd/cpu-arc.c
index decbe69..07a052b 100644
--- a/bfd/cpu-arc.c
+++ b/bfd/cpu-arc.c
@@ -53,7 +53,7 @@ static const bfd_arch_info_type arch_info_struct[] =
 };
 
 const bfd_arch_info_type bfd_arc_arch =
-  ARC (bfd_mach_arc_arcv2,  "HS", TRUE, &arch_info_struct[0]);
+  ARC (bfd_mach_arc_arc600, "ARC600", TRUE, &arch_info_struct[0]);
 
 /* Utility routines.  */
 
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 32bbf9b..df4e6b0 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
+
+	* testsuite/binutils-all/objdump.exp: Update expected default
+	architecture value for ARC binaries.
+
 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR binutils/19547
@@ -20,7 +25,7 @@
 
 	PR 19495
 	* testsuite/binutils-all/dlltool.exp: Fix tests for targets which
-	do not support inserting leading underscores. 
+	do not support inserting leading underscores.
 
 2016-01-20  Mickael Guene  <mickael.guene@st.com>
 
diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp
index 664ee36..22c4686 100644
--- a/binutils/testsuite/binutils-all/objdump.exp
+++ b/binutils/testsuite/binutils-all/objdump.exp
@@ -34,7 +34,7 @@ send_user "Version [binutil_version $OBJDUMP]"
 set got [binutils_run $OBJDUMP "$OBJDUMPFLAGS -i"]
 
 set cpus_expected [list]
-lappend cpus_expected aarch64 alpha arc HS arm cris
+lappend cpus_expected aarch64 alpha arc ARCv2 arm cris
 lappend cpus_expected d10v d30v fr30 fr500 fr550 h8 hppa i386 i860 i960 iamcu ip2022
 lappend cpus_expected m16c m32c m32r m68hc11 m68hc12 m68k m88k MCore mep c5 h1 MicroBlaze
 lappend cpus_expected mips mn10200 mn10300 ms1 msp MSP430 nds32 n1h_v3 ns32k


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