]> Git Repo - J-u-boot.git/blame - arch/arm/lib/eabi_compat.c
Merge branch 'for-2024.07' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx
[J-u-boot.git] / arch / arm / lib / eabi_compat.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
f772acf8
WD
2/*
3 * Utility functions needed for (some) EABI conformant tool chains.
4 *
5 * (C) Copyright 2009 Wolfgang Denk <[email protected]>
f772acf8
WD
6 */
7
8#include <common.h>
9
10int raise (int signum)
11{
fe901f2d
SG
12 /* Even if printf() is available, it's large. Punt it for SPL builds */
13#if !defined(CONFIG_SPL_BUILD)
f772acf8 14 printf("raise: Signal # %d caught\n", signum);
5cb939fb 15#endif
f772acf8
WD
16 return 0;
17}
cd4b02be
WD
18
19/* Dummy function to avoid linker complaints */
20void __aeabi_unwind_cpp_pr0(void)
21{
f2cbb037 22}
953209bf
WG
23
24void __aeabi_unwind_cpp_pr1(void)
25{
f2cbb037
JH
26}
27
28/* Copy memory like memcpy, but no return value required. */
29void __aeabi_memcpy(void *dest, const void *src, size_t n)
30{
31 (void) memcpy(dest, src, n);
32}
33
34void __aeabi_memset(void *dest, size_t n, int c)
35{
36 (void) memset(dest, c, n);
37}
This page took 0.532158 seconds and 4 git commands to generate.