blob: 44eebe0a5d21da07378e9625cfe8224a94f410ac [file] [log] [blame]
Wolfgang Denkd47f4862009-08-17 13:17:29 +02001/*
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
14int raise (int signum)
15{
Simon Glass188d9712012-03-03 12:33:15 -080016 /* Even if printf() is available, it's large. Punt it for SPL builds */
17#if !defined(CONFIG_SPL_BUILD)
Wolfgang Denkd47f4862009-08-17 13:17:29 +020018 printf("raise: Signal # %d caught\n", signum);
Christian Riesch86657d42011-11-29 00:11:03 +000019#endif
Wolfgang Denkd47f4862009-08-17 13:17:29 +020020 return 0;
21}
Wolfgang Denk36b69702010-05-10 23:08:02 +020022
23/* Dummy function to avoid linker complaints */
24void __aeabi_unwind_cpp_pr0(void)
25{
26};
Wolfgang Grandegger74b04d92011-11-10 01:51:29 +000027
28void __aeabi_unwind_cpp_pr1(void)
29{
30};