]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
LoongArch bfd support
authorliuzhensong <liuzhensong@loongson.cn>
Fri, 22 Oct 2021 08:42:03 +0000 (16:42 +0800)
committerAlan Modra <amodra@gmail.com>
Sun, 24 Oct 2021 11:06:31 +0000 (21:36 +1030)
commite214f8db56f65531b0a5ec296c42339dcaa5af31
tree98bd755197a63aaf79bda89bb3ea792e5a49aaab
parente515d93264b8c74993d8c9f3ac76bd6deaa666f8
LoongArch bfd support

2021-10-22  Chenghua Xu  <xuchenghua@loongson.cn>
    Zhensong Liu  <liuzhensong@loongson.cn>
    Weinan Liu  <liuweinan@loongson.cn>
bfd/
* Makefile.am: Add LoongArch.
* archures.c: Likewise.
* config.bfd: Likewise.
* configure.ac: Likewise.
* cpu-loongarch.c: New.
* elf-bfd.h: Add LoongArch.
* elf.c: Add LoongArch elfcore_grok_xxx.
* elfnn-loongarch.c: New.
* elfxx-loongarch.c: New.
* elfxx-loongarch.h: New.
* reloc.c: Add LoongArch BFD RELOC ENUM.
* targets.c: Add LoongArch target.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* libbfd.h: Regenerate.
* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

include/
* elf/common.h: Add NT_LARCH_{CPUCFG,CSR,LSX,LASX}.
* elf/loongarch.h: New.
20 files changed:
bfd/Makefile.am
bfd/Makefile.in
bfd/archures.c
bfd/bfd-in2.h
bfd/config.bfd
bfd/configure
bfd/configure.ac
bfd/cpu-loongarch.c [new file with mode: 0644]
bfd/elf-bfd.h
bfd/elf.c
bfd/elfnn-loongarch.c [new file with mode: 0644]
bfd/elfxx-loongarch.c [new file with mode: 0644]
bfd/elfxx-loongarch.h [new file with mode: 0644]
bfd/libbfd.h
bfd/po/BLD-POTFILES.in
bfd/po/SRC-POTFILES.in
bfd/reloc.c
bfd/targets.c
include/elf/common.h
include/elf/loongarch.h [new file with mode: 0644]