aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorCupertino Miranda <Cupertino.Miranda@synopsys.com>2016-02-05 09:58:01 +0000
committerNick Clifton <nickc@redhat.com>2016-02-05 09:58:01 +0000
commitbdbca4e6f805c73796c14c79102a8f1ea541d633 (patch)
treeb9861beb4bc752db414d5f6a84fd3e6fe6f0a6d4 /bfd
parentb605bbc620dd0191b3c2b9cf0a495739f9845f27 (diff)
downloadgdb-bdbca4e6f805c73796c14c79102a8f1ea541d633.zip
gdb-bdbca4e6f805c73796c14c79102a8f1ea541d633.tar.gz
gdb-bdbca4e6f805c73796c14c79102a8f1ea541d633.tar.bz2
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/cpu-arc.c2
2 files changed, 6 insertions, 1 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. */