2 * Utility functions needed for (some) EABI conformant tool chains.
4 * (C) Copyright 2009 Wolfgang Denk <wd@denx.de>
6 * SPDX-License-Identifier: GPL-2.0+
11 int raise (int signum)
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);
20 /* Dummy function to avoid linker complaints */
21 void __aeabi_unwind_cpp_pr0(void)
25 void __aeabi_unwind_cpp_pr1(void)
29 /* Copy memory like memcpy, but no return value required. */
30 void __aeabi_memcpy(void *dest, const void *src, size_t n)
32 (void) memcpy(dest, src, n);
35 void __aeabi_memset(void *dest, size_t n, int c)
37 (void) memset(dest, c, n);