diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-03-04 21:18:02 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2014-03-04 21:18:02 +0000 |
commit | 4ba154f579d9ac01829343ed7538727c0b2e87d8 (patch) | |
tree | c8520ecea57c2f5104fc99501b0ed183ca7617ab /bfd | |
parent | 079b5aec63d98106d75981c48ec5191343853986 (diff) | |
download | fsf-binutils-gdb-4ba154f579d9ac01829343ed7538727c0b2e87d8.zip fsf-binutils-gdb-4ba154f579d9ac01829343ed7538727c0b2e87d8.tar.gz fsf-binutils-gdb-4ba154f579d9ac01829343ed7538727c0b2e87d8.tar.bz2 |
bfd/
2014-02-04 Heiher <r@hev.cc>
* elfxx-mips.c (mips_set_isa_flags): Use E_MIPS_ARCH_64R2 for
Loongson-3A.
(mips_mach_extensions): Make bfd_mach_mips_loongson_3a an
extension of bfd_mach_mipsisa64r2.
opcodes/
2014-02-04 Heiher <r@hev.cc>
* mips-dis.c (mips_arch_choices): Usee ISA_MIPS64R2 for Loongson-3A.
gas/
2014-02-04 Heiher <r@hev.cc>
* config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
Loongson-3A.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a797742..e384e49 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2014-03-04 Heiher <r@hev.cc> + + * elfxx-mips.c (mips_set_isa_flags): Use E_MIPS_ARCH_64R2 for + Loongson-3A. + (mips_mach_extensions): Make bfd_mach_mips_loongson_3a an + extension of bfd_mach_mipsisa64r2. + 2014-03-04 Nick Clifton <nickc@redhat.com> PR ld/16017 diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 9011b6d..a395eef 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -11624,7 +11624,7 @@ mips_set_isa_flags (bfd *abfd) break; case bfd_mach_mips_loongson_3a: - val = E_MIPS_ARCH_64 | E_MIPS_MACH_LS3A; + val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_LS3A; break; case bfd_mach_mips_octeon: @@ -14208,12 +14208,12 @@ static const struct mips_mach_extension mips_mach_extensions[] = { bfd_mach_mips_octeon2, bfd_mach_mips_octeonp }, { bfd_mach_mips_octeonp, bfd_mach_mips_octeon }, { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 }, + { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 }, /* MIPS64 extensions. */ { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 }, { bfd_mach_mips_sb1, bfd_mach_mipsisa64 }, { bfd_mach_mips_xlr, bfd_mach_mipsisa64 }, - { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64 }, /* MIPS V extensions. */ { bfd_mach_mipsisa64, bfd_mach_mips5 }, |