1 // SPDX-License-Identifier: GPL-2.0+
3 * Utility functions needed for (some) EABI conformant tool chains.
5 * (C) Copyright 2009 Wolfgang Denk <wd@denx.de>
10 int raise (int signum)
12 /* Even if printf() is available, it's large. Punt it for SPL builds */
13 #if !defined(CONFIG_SPL_BUILD)
14 printf("raise: Signal # %d caught\n", signum);
19 /* Dummy function to avoid linker complaints */
20 void __aeabi_unwind_cpp_pr0(void)
24 void __aeabi_unwind_cpp_pr1(void)
28 /* Copy memory like memcpy, but no return value required. */
29 void __aeabi_memcpy(void *dest, const void *src, size_t n)
31 (void) memcpy(dest, src, n);
34 void __aeabi_memset(void *dest, size_t n, int c)
36 (void) memset(dest, c, n);