summaryrefslogtreecommitdiff
path: root/bl2u/aarch64/bl2u_entrypoint.S
diff options
context:
space:
mode:
Diffstat (limited to 'bl2u/aarch64/bl2u_entrypoint.S')
-rw-r--r--bl2u/aarch64/bl2u_entrypoint.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/bl2u/aarch64/bl2u_entrypoint.S b/bl2u/aarch64/bl2u_entrypoint.S
index 9fa84bf4..81aabc77 100644
--- a/bl2u/aarch64/bl2u_entrypoint.S
+++ b/bl2u/aarch64/bl2u_entrypoint.S
@@ -107,6 +107,15 @@ func bl2u_entrypoint
bl plat_set_my_stack
/* ---------------------------------------------
+ * Initialize the stack protector canary before
+ * any C code is called.
+ * ---------------------------------------------
+ */
+#if STACK_PROTECTOR_ENABLED
+ bl update_stack_protector_canary
+#endif
+
+ /* ---------------------------------------------
* Perform early platform setup & platform
* specific early arch. setup e.g. mmu setup
* ---------------------------------------------