diff options
author | Nick Clifton <nickc@redhat.com> | 2010-11-11 10:23:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-11-11 10:23:39 +0000 |
commit | fd50354116e30413803893c41178623d156f28de (patch) | |
tree | b403df328a245e6d5ebe2a43b242d7123638a5c0 /binutils | |
parent | d5906a46f1821b90f03c817384383f6e77b15a08 (diff) | |
download | gdb-fd50354116e30413803893c41178623d156f28de.zip gdb-fd50354116e30413803893c41178623d156f28de.tar.gz gdb-fd50354116e30413803893c41178623d156f28de.tar.bz2 |
bfd/
* archures.c (bfd_mach_mips_loongson_3a): Defined.
* bfd-in2.h (bfd_mach_mips_loongson_3a): Defined.
* cpu-mips.c (I_loongson_3a): New add.
(arch_info_struct): Add loongson_3a.
* elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a.
(mips_set_isa_flags): Add loongson_3a.
(mips_mach_extensions): Add loongson_3a in MIPS64 extensions.
binutils/
* readelf.c (get_machine_flags): Add loongson-3a.
gas/
* config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64.
* doc/c-mips.texi (MIPS cpu): Add loongson3a.
include/
* elf/mips.h (E_MIPS_MACH_LS3A): Defined.
* opcode/mips.h (INSN_LOONGSON_3A): Defined.
(CPU_LOONGSON_3A): Defined.
(OPCODE_IS_MEMBER): Add LOONGSON_3A.
opcodes/
* mips-dis.c (mips_arch_choices): Add loongson3a.
* mips-opc.c (IL3A): Defined as INSN_LOONGSON_3A.
(mips_builtin_opcodes): Modify some instructions' membership from
IL2F to IL2F|IL3A, since these instructions are supported by Loongson_3A.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index bacb077..7f32615 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2010-11-11 Mingming Sun <mingm.sun@gmail.com> + + * readelf.c (get_machine_flags): Add loongson-3a. + 2010-11-10 Nick Clifton <nickc@redhat.com> * po/ja.po: Updated Japanese translation. diff --git a/binutils/readelf.c b/binutils/readelf.c index 0ed5c7c..22ca25c5 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2427,6 +2427,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine) case E_MIPS_MACH_9000: strcat (buf, ", 9000"); break; case E_MIPS_MACH_LS2E: strcat (buf, ", loongson-2e"); break; case E_MIPS_MACH_LS2F: strcat (buf, ", loongson-2f"); break; + case E_MIPS_MACH_LS3A: strcat (buf, ", loongson-3a"); break; case E_MIPS_MACH_OCTEON: strcat (buf, ", octeon"); break; case E_MIPS_MACH_OCTEON2: strcat (buf, ", octeon2"); break; case E_MIPS_MACH_XLR: strcat (buf, ", xlr"); break; |