summaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/crti.S')
-rw-r--r--sysdeps/aarch64/crti.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/aarch64/crti.S b/sysdeps/aarch64/crti.S
index 1728eac37a..c346bcad72 100644
--- a/sysdeps/aarch64/crti.S
+++ b/sysdeps/aarch64/crti.S
@@ -75,6 +75,7 @@ call_weak_fn:
.hidden _init
.type _init, %function
_init:
+ BTI_C
stp x29, x30, [sp, -16]!
mov x29, sp
#if PREINIT_FUNCTION_WEAK
@@ -89,5 +90,6 @@ _init:
.hidden _fini
.type _fini, %function
_fini:
+ BTI_C
stp x29, x30, [sp, -16]!
mov x29, sp