[PATCH 4/6] MIPS: Add Loongson 3A1000 proccessor support

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


MIPS: Add Loongson 3A1000 proccessor support

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

bfd/
        * archures.c (bfd_architecture): Rename
        bfd_mach_mips_loongson_3a to bfd_mach_mips_gs464.
        * bfd-in2.h (bfd_architecture): Likewise.
        * cpu-mips.c (enum I_xxx): Likewise.
        (arch_info_struct): Likewise.
        * elfxx-mips.c (_bfd_elf_mips_mach): Likewise.
        (mips_set_isa_flags): Likewise.
        (mips_mach_extensions): Likewise.
        (bfd_mips_isa_ext_mach): Likewise.
        (bfd_mips_isa_ext): Likewise.
        (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.

binutils/
        * NEWS: Mention Loongson 3A1000 proccessor support.
        * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
        (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.

elfcpp/
        * mips.c (EF_MIPS_MACH): Rename E_MIPS_MACH_LS3A to
        E_MIPS_MACH_GS464.

gas/
        * config/tc-mips.c (ISA_HAS_ODD_SINGLE_FPR): Rename
        CPU_LOONGSON_3A to CPU_GS464.
        (mips_cpu_info_table): Add gs464 descriptors, Keep
        loongson3a as an alias of gs464 for compatibility.
        * doc/as.texi (march table): Rename loongson3a to gs464.
        * testsuite/gas/mips/loongson-3a-mmi.d: Set "ISA Extension"
        flag to None.

include/
        * elf/mips.h (E_MIPS_MACH_XXX): Rename E_MIPS_MACH_LS3A to
        E_MIPS_MACH_GS464.
        (AFL_EXT_XXX): Delete AFL_EXT_LOONGSON_3A.
        * opcode/mips.h (INSN_XXX): Delete INSN_LOONGSON_3A.
        (CPU_XXX): Rename CPU_LOONGSON_3A to CPU_GS464.
        * opcode/mips.h (mips_isa_table): Delete CPU_LOONGSON_3A case.

ld/
        * testsuite/ld-mips-elf/mips-elf-flags.exp: Rename loongson3a
        to gs464.

opcodes/
        * mips-dis.c (mips_arch_choices): Add gs464 descriptors, Keep
        loongson3a as an alias of gs464 for compatibility.
        * mips-opc.c (mips_opcodes): Change Comments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-MIPS-Add-Loongson-3A1000-proccessor-support.patch
Type: text/x-patch
Size: 14466 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180804/4f822b50/attachment.bin>


More information about the Binutils mailing list