aarch64-pe support for LD, GAS and BFD
authorJedidiah Thompson <wej22007@outlook.com>
Wed, 19 Oct 2022 08:57:12 +0000 (10:57 +0200)
committerZac Walker <zac.walker@linaro.org>
Wed, 19 Oct 2022 08:57:12 +0000 (10:57 +0200)
commitc60b3806799abf1d7f6cf5108a1b0e733a950b13
treea203af8ed31ff48618e57a76a668faea3673fb0e
parent740a19d914a83423122fe81eec9508fa1dbb0559
aarch64-pe support for LD, GAS and BFD

Allows aarch64-pe to be targeted natively, not having to use objcopy to convert it from ELF to PE.
Based on initial work by Jedidiah Thompson

Co-authored-by: Jedidiah Thompson <wej22007@outlook.com>
Co-authored-by: Zac Walker <zac.walker@linaro.org>
37 files changed:
bfd/Makefile.am
bfd/Makefile.in
bfd/archures.c
bfd/bfd-in2.h
bfd/bfd.c
bfd/coff-aarch64.c
bfd/config.bfd
bfd/configure
bfd/configure.ac
bfd/cpu-aarch64.c
bfd/pe-aarch64.c [new file with mode: 0644]
bfd/pei-aarch64.c
bfd/peicode.h
bfd/po/SRC-POTFILES.in
bfd/targets.c
gas/config/obj-coff.h
gas/config/tc-aarch64.c
gas/config/tc-aarch64.h
gas/config/te-pepaarch64.h [new file with mode: 0644]
gas/configure.tgt
gas/testsuite/gas/pe/pe-aarch64.d [new file with mode: 0644]
gas/testsuite/gas/pe/pe-aarch64.s [new file with mode: 0644]
gas/testsuite/gas/pe/pe.exp
gdb/coff-pe-read.c
include/coff/aarch64.h
ld/Makefile.am
ld/Makefile.in
ld/configure.tgt
ld/emulparams/aarch64pe.sh [new file with mode: 0644]
ld/emultempl/pep.em
ld/pe-dll.c
ld/pep-dll-aarch64.c [new file with mode: 0644]
ld/pep-dll-x86_64.c [new file with mode: 0644]
ld/pep-dll.c
ld/testsuite/ld-pe/pe-aarch64.d [new file with mode: 0644]
ld/testsuite/ld-pe/pe-aarch64.s [new file with mode: 0644]
ld/testsuite/ld-pe/pe.exp