[PATH 6/6] MIPS: Add Loongson 2K1000 proccessor support

Paul Hua paul.hua.gm@gmail.com
Sat Aug 4 08:20:00 GMT 2018


MIPS: Add Loongson 2K1000 proccessor support.

2018-08-04  Chenghua Xu  <paul.hua.gm@gmail.com>

bfd/
        * archures.c (bfd_architecture): New machine
        bfd_mach_mips_gs264e.
        * bfd-in2.h (bfd_architecture): Likewise.
        * cpu-mips.c (enum I_xxx): Likewise.
        (arch_info_struct): Likewise.
        * elfxx-mips.c (_bfd_elf_mips_mach): Handle
        E_MIPS_MACH_GS264E.
        (mips_set_isa_flags): Likewise.
        (mips_mach_extensions): Map bfd_mach_mips_gs264e to
        bfd_mach_mips_gs464e extension.

binutils/
        * NEWS: Mention Loongson 2K1000 proccessor support.
        * readelf.c (get_machine_flags): Handle gs264e.

elfcpp/
        * mips.c (EF_MIPS_MACH): New E_MIPS_MACH_GS264E.

gas/
        * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Exclude CPU_GS264E.
        (mips_cpu_info_table): Add gs264e descriptors.
        * doc/as.texi (march table): Add gs264e.

include/
        * elf/mips.h (E_MIPS_MACH_XXX): New E_MIPS_MACH_GS264E.
        * opcode/mips.h (CPU_XXX): New CPU_GS264E.

ld/
        * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination
        gs264e and gs464e.

opcodes/
        * mips-dis.c (mips_arch_choices): Add gs264e descriptors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-MIPS-Add-Loongson-2K1000-proccessor-support.patch
Type: text/x-patch
Size: 9156 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180804/e0d8158c/attachment.bin>


More information about the Binutils mailing list