LoongArch gas support
authorliuzhensong <liuzhensong@loongson.cn>
Fri, 22 Oct 2021 08:42:06 +0000 (16:42 +0800)
committerAlan Modra <amodra@gmail.com>
Sun, 24 Oct 2021 11:06:32 +0000 (21:36 +1030)
commit4462d7c440247bfcdc464412332bbec13b8aab12
tree7559eea153d11930124e45d3fa6ead17ceefde8e
parente9a0721f8274daeffaedbc3cabc12c52d43a38a7
LoongArch gas support

2021-10-22  Chenghua Xu  <xuchenghua@loongson.cn>
            Zhensong Liu  <liuzhensong@loongson.cn>
            Weinan Liu  <liuweinan@loongson.cn>
    Xiaolin Tang  <tangxiaolin@loongson.cn>

gas/
* Makefile.am: Add LoongArch.
* NEWS: Mention LoongArch support.
* config/loongarch-lex-wrapper.c: New.
* config/loongarch-lex.h: New.
* config/loongarch-lex.l: New.
* config/loongarch-parse.y: New.
* config/tc-loongarch.c: New.
* config/tc-loongarch.h: New.
* configure.ac: Add LoongArch.
* configure.tgt: Likewise.
* doc/as.texi: Likewise.
* doc/c-loongarch.texi: Likewise.
* Makefile.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
gas/testsuite/
* gas/all/gas.exp: Add LoongArch.
* gas/elf/elf.exp: Likewise.
* gas/loongarch/4opt_op.d: New.
* gas/loongarch/4opt_op.s: Likewise.
* gas/loongarch/fix_op.d: Likewise.
* gas/loongarch/fix_op.s: Likewise.
* gas/loongarch/float_op.d: Likewise.
* gas/loongarch/float_op.s: Likewise.
* gas/loongarch/imm_op.d: Likewise.
* gas/loongarch/imm_op.s: Likewise.
* gas/loongarch/jmp_op.d: Likewise.
* gas/loongarch/jmp_op.s: Likewise.
* gas/loongarch/load_store_op.d: Likewise.
* gas/loongarch/load_store_op.s: Likewise.
* gas/loongarch/loongarch.exp: Likewise.
* gas/loongarch/macro_op.d: Likewise.
* gas/loongarch/macro_op.s: Likewise.
* gas/loongarch/nop.d: Likewise.
* gas/loongarch/nop.s: Likewise.
* gas/loongarch/privilege_op.d: Likewise.
* gas/loongarch/privilege_op.s: Likewise.
* gas/loongarch/syscall.d: Likewise.
* gas/loongarch/syscall.s: Likewise.
* lib/gas-defs.exp: Add LoongArch.
39 files changed:
gas/Makefile.am
gas/Makefile.in
gas/NEWS
gas/config/loongarch-lex-wrapper.c [new file with mode: 0644]
gas/config/loongarch-lex.h [new file with mode: 0644]
gas/config/loongarch-lex.l [new file with mode: 0644]
gas/config/loongarch-parse.y [new file with mode: 0644]
gas/config/tc-loongarch.c [new file with mode: 0644]
gas/config/tc-loongarch.h [new file with mode: 0644]
gas/configure
gas/configure.ac
gas/configure.tgt
gas/doc/as.texi
gas/doc/c-loongarch.texi [new file with mode: 0644]
gas/po/POTFILES.in
gas/testsuite/gas/all/gas.exp
gas/testsuite/gas/elf/elf.exp
gas/testsuite/gas/loongarch/4opt_op.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/4opt_op.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/fix_op.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/fix_op.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/float_op.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/float_op.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/imm_op.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/imm_op.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/jmp_op.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/jmp_op.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/load_store_op.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/load_store_op.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/loongarch.exp [new file with mode: 0644]
gas/testsuite/gas/loongarch/macro_op.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/macro_op.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/nop.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/nop.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/privilege_op.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/privilege_op.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/syscall.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/syscall.s [new file with mode: 0644]
gas/testsuite/lib/gas-defs.exp