xref: /openbmc/u-boot/arch/arm/lib/eabi_compat.c (revision ae03661f)
1 /*
2  * Utility functions needed for (some) EABI conformant tool chains.
3  *
4  * (C) Copyright 2009 Wolfgang Denk <wd@denx.de>
5  *
6  * This program is Free Software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) any later version.
10  */
11 
12 #include <common.h>
13 
14 int raise (int signum)
15 {
16 #if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
17 	printf("raise: Signal # %d caught\n", signum);
18 #endif
19 	return 0;
20 }
21 
22 /* Dummy function to avoid linker complaints */
23 void __aeabi_unwind_cpp_pr0(void)
24 {
25 };
26