summaryrefslogtreecommitdiff
path: root/bfd/archures.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-11-11 10:23:34 +0000
committerNick Clifton <nickc@redhat.com>2010-11-11 10:23:34 +0000
commit7d4135925c86dbe92245417bc6b90982f84538e7 (patch)
tree73fe91ca26147046255916a97a59aa5b69fc41c9 /bfd/archures.c
parentb5f8d83776132596516082e6c101d13fb3b6e3d4 (diff)
downloadbinutils-redhat-7d4135925c86dbe92245417bc6b90982f84538e7.tar.gz
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 'bfd/archures.c')
-rw-r--r--bfd/archures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/archures.c b/bfd/archures.c
index 1867154382..1d61ae3109 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -173,6 +173,7 @@ DESCRIPTION
.#define bfd_mach_mips5 5
.#define bfd_mach_mips_loongson_2e 3001
.#define bfd_mach_mips_loongson_2f 3002
+.#define bfd_mach_mips_loongson_3a 3003
.#define bfd_mach_mips_sb1 12310201 {* octal 'SB', 01 *}
.#define bfd_mach_mips_octeon 6501
.#define bfd_mach_mips_xlr 887682 {* decimal 'XLR' *}