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-Tag: gdb-7.11-release~69 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdbca4e6f805c73796c14c79102a8f1ea541d633;p=external%2Fbinutils.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 93bfe05..e378a3e 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 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 + + * 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 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