aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/pe-aarch64.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pe/pe-aarch64.s')
-rw-r--r--ld/testsuite/ld-pe/pe-aarch64.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/pe-aarch64.s b/ld/testsuite/ld-pe/pe-aarch64.s
new file mode 100644
index 0000000..5d49350
--- /dev/null
+++ b/ld/testsuite/ld-pe/pe-aarch64.s
@@ -0,0 +1,11 @@
+# A little test to ensure pe-aarch64 is working in LD.
+# Currently, the poor pe-aarch64 implementation in binutils
+# couldn't do anything useful, hence, this test is rather short
+
+.section .text
+
+_start:
+ mov x1, 20
+ b foo
+foo:
+ ret