]>
Commit | Line | Data |
---|---|---|
34e59f5b DJ |
1 | /* Dummy exception handling and frame unwind runtime interface routines. |
2 | Copyright (C) 2004 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of the GNU C Library. | |
5 | ||
6 | The GNU C Library is free software; you can redistribute it and/or | |
7 | modify it under the terms of the GNU Lesser General Public | |
8 | License as published by the Free Software Foundation; either | |
9 | version 2.1 of the License, or (at your option) any later version. | |
10 | ||
11 | The GNU C Library is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | Lesser General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU Lesser General Public | |
17 | License along with the GNU C Library; if not, write to the Free | |
18 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | |
19 | 02111-1307 USA. */ | |
20 | ||
21 | /* ARM uses setjmp-longjmp exceptions. However, previous versions of | |
22 | GNU libc exported some DWARF-2 exception handling support routines. | |
23 | They are not necessary, but older (or broken) configurations of GCC | |
24 | will do so. Even though all references to these are weak, because | |
25 | they refer to versioned symbols, they must be provided. */ | |
26 | ||
27 | #include <stdlib.h> | |
28 | #include <unwind.h> | |
29 | #include <unwind-dw2-fde.h> | |
30 | ||
31 | /* These may be called from startup code, but don't need to do | |
32 | anything. */ | |
33 | ||
34 | void __register_frame_info_bases (void *a1, struct object *a2, | |
35 | void *a3, void *a4) | |
36 | { | |
37 | } | |
38 | ||
39 | void __register_frame_info (void *a1, struct object *a2) | |
40 | { | |
41 | } | |
42 | ||
43 | void __register_frame (void *a1) | |
44 | { | |
45 | } | |
46 | ||
47 | void __register_frame_info_table_bases (void *a1, struct object *a2, | |
48 | void *a3, void *a4) | |
49 | { | |
50 | } | |
51 | ||
52 | void __register_frame_info_table (void *a1, struct object *a2) | |
53 | { | |
54 | } | |
55 | ||
56 | void __register_frame_table (void *a1) | |
57 | { | |
58 | } | |
59 | ||
60 | void *__deregister_frame_info (void *a1) | |
61 | { | |
62 | return NULL; | |
63 | } | |
64 | ||
65 | void *__deregister_frame_info_bases (void *a1) | |
66 | { | |
67 | return NULL; | |
68 | } | |
69 | ||
70 | void __deregister_frame (void *a1) | |
71 | { | |
72 | } | |
73 | ||
74 | /* This should not be called. */ | |
75 | ||
76 | fde * | |
77 | _Unwind_Find_FDE (void *a1, struct dwarf_eh_bases *a2) | |
78 | { | |
79 | abort (); | |
80 | } |