aboutsummaryrefslogtreecommitdiff
path: root/bl1/bl1.mk
diff options
context:
space:
mode:
Diffstat (limited to 'bl1/bl1.mk')
-rw-r--r--bl1/bl1.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/bl1/bl1.mk b/bl1/bl1.mk
index ec7d7280b7..7f1a823064 100644
--- a/bl1/bl1.mk
+++ b/bl1/bl1.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -21,6 +21,10 @@ BL1_SOURCES += lib/cpus/aarch64/dsu_helpers.S \
lib/el3_runtime/aarch64/context.S
endif
+ifeq (${ENABLE_PAUTH},1)
+BL1_CFLAGS += -msign-return-address=non-leaf
+endif
+
ifeq (${TRUSTED_BOARD_BOOT},1)
BL1_SOURCES += bl1/bl1_fwu.c
endif