xref: /kvm-unit-tests/lib/arm/eabi_compat.c (revision 5e61cba06248d9f2926804b7fb900fe9d721e86c)
1 /*
2  * Adapted from u-boot's arch/arm/lib/eabi_compat.c
3  */
4 #include "libcflat.h"
5 
6 int raise(int signum __unused)
7 {
8 	printf("Divide by zero!\n");
9 	abort();
10 	return 0;
11 }
12 
13 /* Dummy functions to avoid linker complaints */
14 void __aeabi_unwind_cpp_pr0(void)
15 {
16 }
17 
18 void __aeabi_unwind_cpp_pr1(void)
19 {
20 }
21