summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/ifunc-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/ifunc-2.d')
-rw-r--r--ld/testsuite/ld-aarch64/ifunc-2.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/ifunc-2.d b/ld/testsuite/ld-aarch64/ifunc-2.d
new file mode 100644
index 00000000000..70ce224aee8
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/ifunc-2.d
@@ -0,0 +1,9 @@
+#ld: -shared
+#objdump: -dw
+#target: aarch64*-*-*
+
+#...
+[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+(0x2c0|0x308)@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+adrp[ \t]+x0, 0 <.*>
+[ \t0-9a-f]+:[ \t0-9a-f]+add[ \t]+x0, x0, #(0x2b0|0x2f8)
+#pass