about summary refs log tree commit diff
path: root/sysdeps/aarch64/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/crtn.S')
-rw-r--r--sysdeps/aarch64/crtn.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/aarch64/crtn.S b/sysdeps/aarch64/crtn.S
index 0c1ef112c2..d21c21c203 100644
--- a/sysdeps/aarch64/crtn.S
+++ b/sysdeps/aarch64/crtn.S
@@ -41,8 +41,14 @@
 
 	.section .init,"ax",%progbits
 	ldp	x29, x30, [sp], 16
+#if HAVE_AARCH64_PAC_RET
+	AUTIASP
+#endif
 	RET
 
 	.section .fini,"ax",%progbits
 	ldp	x29, x30, [sp], 16
+#if HAVE_AARCH64_PAC_RET
+	AUTIASP
+#endif
 	RET