diff options
author | Nick Clifton <nickc@redhat.com> | 2010-11-23 17:04:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-11-23 17:04:13 +0000 |
commit | d051516a87f6581ef1355f0da631c51eb38c24f6 (patch) | |
tree | 0a040a8f3452c9e4fc09539191c1084291d1a76f /bfd | |
parent | 731caf761016399cc3dc9517781e328c54a8e9d6 (diff) | |
download | gdb-d051516a87f6581ef1355f0da631c51eb38c24f6.zip gdb-d051516a87f6581ef1355f0da631c51eb38c24f6.tar.gz gdb-d051516a87f6581ef1355f0da631c51eb38c24f6.tar.bz2 |
* mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.
(INSN_LOONGSON_3A): Clear bit 31.
* elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a
after bfd_mach_mips_sb1.
* config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8839ea0..99ada02 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-11-23 Mingming Sun <mingm.sun@gmail.com> + + * elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a + after bfd_mach_mips_sb1. + 2010-11-17 Tristan Gingold <gingold@adacore.com> * vms-lib.c (vms_write_index): Add comments. diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index cfbb06e..dcf6a9e 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -10559,14 +10559,14 @@ mips_set_isa_flags (bfd *abfd) val = E_MIPS_ARCH_3 | E_MIPS_MACH_LS2F; break; - case bfd_mach_mips_loongson_3a: - val = E_MIPS_ARCH_64 | E_MIPS_MACH_LS3A; - break; - case bfd_mach_mips_sb1: val = E_MIPS_ARCH_64 | E_MIPS_MACH_SB1; break; + case bfd_mach_mips_loongson_3a: + val = E_MIPS_ARCH_64 | E_MIPS_MACH_LS3A; + break; + case bfd_mach_mips_octeon: val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON; break; |