From 528e4f463f511b11ad414bc91bcf89c4fb53c352 Mon Sep 17 00:00:00 2001 From: Mark Harmstone Date: Thu, 15 Dec 2022 23:24:09 +0000 Subject: Add .secrel32 for pe-aarch64 Adds the .secrel32 pseudo-directive and its corresponding relocation. --- ld/testsuite/ld-pe/pe.exp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ld') diff --git a/ld/testsuite/ld-pe/pe.exp b/ld/testsuite/ld-pe/pe.exp index c22c6d4..dae8c34 100644 --- a/ld/testsuite/ld-pe/pe.exp +++ b/ld/testsuite/ld-pe/pe.exp @@ -84,6 +84,8 @@ if {[istarget "aarch64-*-pe*"]} { set pe_tests { {"aarch64" "--image-base 0x1000" "" "" {aarch64a.s aarch64b.s} {{objdump -dr aarch64.d}} "aarch64.x"} + {".secrel32" "--disable-reloc-section" "" "" {secrel1.s secrel2.s} + {{objdump -s secrel_64.d}} "secrel.x"} } run_ld_link_tests $pe_tests -- cgit v1.1