1248366Sandrew/*
2248366Sandrew * Copyright (C) 2013 Andrew Turner
3248366Sandrew * All rights reserved.
4248366Sandrew *
5248366Sandrew * Redistribution and use in source and binary forms, with or without
6248366Sandrew * modification, are permitted provided that the following conditions
7248366Sandrew * are met:
8248366Sandrew * 1. Redistributions of source code must retain the above copyright
9248366Sandrew *    notice, this list of conditions and the following disclaimer.
10248366Sandrew * 2. Redistributions in binary form must reproduce the above copyright
11248366Sandrew *    notice, this list of conditions and the following disclaimer in the
12248366Sandrew *    documentation and/or other materials provided with the distribution.
13248366Sandrew *
14248366Sandrew * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15248366Sandrew * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16248366Sandrew * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17248366Sandrew * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18248366Sandrew * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19248366Sandrew * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20248366Sandrew * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21248366Sandrew * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22248366Sandrew * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23248366Sandrew * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24248366Sandrew * SUCH DAMAGE.
25248366Sandrew *
26248366Sandrew */
27248366Sandrew
28248366Sandrew#include <sys/cdefs.h>
29248366Sandrew__FBSDID("$FreeBSD$");
30248366Sandrew
31248366Sandrew#include <sys/types.h>
32255939Sandrew#ifdef _KERNEL
33248366Sandrew#include <sys/systm.h>
34255939Sandrew#else
35255939Sandrew#define	panic(x) (void)0
36255939Sandrew#endif
37248366Sandrew
38248366Sandrew/* We need to provide these functions never call them */
39248366Sandrewvoid __aeabi_unwind_cpp_pr0(void);
40248366Sandrewvoid __aeabi_unwind_cpp_pr1(void);
41248366Sandrewvoid __aeabi_unwind_cpp_pr2(void);
42248366Sandrew
43248366Sandrewvoid
44248366Sandrew__aeabi_unwind_cpp_pr0(void)
45248366Sandrew{
46248366Sandrew	panic("__aeabi_unwind_cpp_pr0");
47248366Sandrew}
48248366Sandrew
49248366Sandrewvoid
50248366Sandrew__aeabi_unwind_cpp_pr1(void)
51248366Sandrew{
52248366Sandrew	panic("__aeabi_unwind_cpp_pr1");
53248366Sandrew}
54248366Sandrew
55248366Sandrewvoid
56248366Sandrew__aeabi_unwind_cpp_pr2(void)
57248366Sandrew{
58248366Sandrew	panic("__aeabi_unwind_cpp_pr2");
59248366Sandrew}
60