diff options
author | Mark Harmstone <mark@harmstone.com> | 2022-12-14 00:54:34 +0000 |
---|---|---|
committer | Mark Harmstone <mark@harmstone.com> | 2023-01-10 23:30:44 +0000 |
commit | b152649d51b52e4e82176fb835b8b91a9ca08ad4 (patch) | |
tree | 635d2ed5c44c70a897110aa4855a5dcf10ed1f63 /ld/testsuite/ld-pe/pe.exp | |
parent | 5093b5a5e7e3e51116207eb2dec81846140fc604 (diff) | |
download | binutils-gdb-b152649d51b52e4e82176fb835b8b91a9ca08ad4.tar.gz |
Add pe-aarch64 relocations
This adds the remaining pe-aarch64 relocations, and gets them working.
It also brings in the constant directives from ELF, as otherwise .word
would be 2 rather than 4 bytes, and .xword and .dword wouldn't be
defined.
Diffstat (limited to 'ld/testsuite/ld-pe/pe.exp')
-rw-r--r-- | ld/testsuite/ld-pe/pe.exp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ld/testsuite/ld-pe/pe.exp b/ld/testsuite/ld-pe/pe.exp index 613635fd609..c22c6d449f9 100644 --- a/ld/testsuite/ld-pe/pe.exp +++ b/ld/testsuite/ld-pe/pe.exp @@ -79,9 +79,15 @@ if {[istarget i*86-*-cygwin*] } if {[istarget "aarch64-*-pe*"]} { - run_dump_test "pe-aarch64" -} + run_dump_test "pe-aarch64" + + set pe_tests { + {"aarch64" "--image-base 0x1000" "" "" {aarch64a.s aarch64b.s} + {{objdump -dr aarch64.d}} "aarch64.x"} + } + run_ld_link_tests $pe_tests +} run_dump_test "image_size" run_dump_test "export_dynamic_warning" |