summaryrefslogtreecommitdiff
path: root/arch/arm/lib/eabi_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/eabi_compat.c')
-rw-r--r--arch/arm/lib/eabi_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c
index 2028dbd..44eebe0 100644
--- a/arch/arm/lib/eabi_compat.c
+++ b/arch/arm/lib/eabi_compat.c
@@ -13,7 +13,8 @@
int raise (int signum)
{
-#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
+ /* Even if printf() is available, it's large. Punt it for SPL builds */
+#if !defined(CONFIG_SPL_BUILD)
printf("raise: Signal # %d caught\n", signum);
#endif
return 0;