summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>2016-11-28 09:59:27 +0000
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>2016-12-19 11:57:12 +0000
commite12cb61f0e7d8678a2cd6ef73f0a38af1d460e08 (patch)
treea1761064a13f82ec0ba6625a5206b78b27e4ef31 /include/common
parenta4af0c2e8409696667695f3781a22cba2eafbd2c (diff)
downloadarm-trusted-firmware-e12cb61f0e7d8678a2cd6ef73f0a38af1d460e08.tar.gz
AArch32: Print ASM_ASSERT and panic messages
ASM_ASSERT failure and panic messages are suppressed at present. This patch enables printing the PC location for panic messages, and file name and line number upon assembly assert failure. Change-Id: I80cb715988e7ce766f64da1e1d7065a74a096a0c Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
Diffstat (limited to 'include/common')
-rw-r--r--include/common/aarch32/assert_macros.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common/aarch32/assert_macros.S b/include/common/aarch32/assert_macros.S
index f35fc6afa..f32ef7ade 100644
--- a/include/common/aarch32/assert_macros.S
+++ b/include/common/aarch32/assert_macros.S
@@ -43,8 +43,8 @@
.endif ;\
b##_cc 300f ;\
ldr r0, =.L_assert_filename ;\
- mov r1, #__LINE__ ;\
- b . ;\
+ ldr r1, =__LINE__ ;\
+ b asm_assert;\
300:
#endif /* __ASSERT_MACROS_S__ */