aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/property-bti-pac4.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/property-bti-pac4.s')
-rw-r--r--ld/testsuite/ld-aarch64/property-bti-pac4.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/property-bti-pac4.s b/ld/testsuite/ld-aarch64/property-bti-pac4.s
new file mode 100644
index 0000000..a1122ff
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/property-bti-pac4.s
@@ -0,0 +1,21 @@
+ .arch armv8-a
+ .file "t.c"
+ .text
+ .align 2
+ .p2align 3,,7
+ .global f
+ .type f, %function
+f:
+ add w0, w0, 1
+ ret
+ .size f, .-f
+ .section .text.startup,"ax",@progbits
+ .align 2
+ .p2align 3,,7
+ .global main
+ .type main, %function
+main:
+ mov w0, 6
+ ret
+ .size main, .-main
+ .section .note.GNU-stack,"",@progbits