From: Cupertino Miranda Date: Fri, 5 Feb 2016 09:58:01 +0000 (+0000) Subject: Change the default architecture value for ARC bfds so that they have the lowest possi... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdbca4e6f805c73796c14c79102a8f1ea541d633;p=binutils-gdb.git 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 --git a/bfd/ChangeLog b/bfd/ChangeLog index 93bfe05ee89..e378a3ea5ec 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2016-02-05 Cupertino Miranda + + * cpu-arc.c: Change default archure from bfd_mach_arc_arcv2 + to bfd_mach_arc_arc600. + 2016-02-04 Alan Modra * elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch diff --git a/bfd/cpu-arc.c b/bfd/cpu-arc.c index decbe69b71c..07a052b8a50 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 32bbf9b6661..df4e6b0775e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2016-02-05 Cupertino Miranda + + * testsuite/binutils-all/objdump.exp: Update expected default + architecture value for ARC binaries. + 2016-02-02 H.J. Lu 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 diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp index 664ee361f41..22c46861595 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