aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2022-12-15 23:24:09 +0000
committerMark Harmstone <mark@harmstone.com>2023-01-10 23:30:46 +0000
commit528e4f463f511b11ad414bc91bcf89c4fb53c352 (patch)
tree16e97352b06f33fa21d6d63305c91c600c2ea3d5 /ld/testsuite
parentb152649d51b52e4e82176fb835b8b91a9ca08ad4 (diff)
downloadgdb-528e4f463f511b11ad414bc91bcf89c4fb53c352.zip
gdb-528e4f463f511b11ad414bc91bcf89c4fb53c352.tar.gz
gdb-528e4f463f511b11ad414bc91bcf89c4fb53c352.tar.bz2
Add .secrel32 for pe-aarch64
Adds the .secrel32 pseudo-directive and its corresponding relocation.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-pe/pe.exp2
1 files changed, 2 insertions, 0 deletions
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