]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/arm/lib/eabi_compat.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / arch / arm / lib / eabi_compat.c
1 /*
2 * Utility functions needed for (some) EABI conformant tool chains.
3 *
4 * (C) Copyright 2009 Wolfgang Denk <wd@denx.de>
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9 #include <common.h>
10
11 int raise (int signum)
12 {
13 /* Even if printf() is available, it's large. Punt it for SPL builds */
14 #if !defined(CONFIG_SPL_BUILD)
15 printf("raise: Signal # %d caught\n", signum);
16 #endif
17 return 0;
18 }
19
20 /* Dummy function to avoid linker complaints */
21 void __aeabi_unwind_cpp_pr0(void)
22 {
23 };
24
25 void __aeabi_unwind_cpp_pr1(void)
26 {
27 };