X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Farm%2Flib%2Feabi_compat.c;h=10d19333fc1306bb87daac5c867a7f84e2927ee7;hb=0f507779ca00d90cdd4bcc8252630370339b7ea6;hp=eb3e26d4d20db0ce867355e12ad699a4972c5618;hpb=8a452c2c17bc284e3f91b8ed4aec9d2b9b342df7;p=u-boot diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c index eb3e26d4d2..10d19333fc 100644 --- a/arch/arm/lib/eabi_compat.c +++ b/arch/arm/lib/eabi_compat.c @@ -3,17 +3,17 @@ * * (C) Copyright 2009 Wolfgang Denk * - * This program is Free Software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. + * SPDX-License-Identifier: GPL-2.0+ */ #include int raise (int signum) { + /* 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; } @@ -21,3 +21,7 @@ int raise (int signum) void __aeabi_unwind_cpp_pr0(void) { }; + +void __aeabi_unwind_cpp_pr1(void) +{ +};