]>
Commit | Line | Data |
---|---|---|
8b89a26a | 1 | /* Stub functions. |
a945c346 | 2 | Copyright (C) 2006-2024 Free Software Foundation, Inc. |
8b89a26a JDA |
3 | |
4 | This file is part of GCC. | |
5 | ||
6 | GCC is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
748086b7 | 8 | the Free Software Foundation; either version 3, or (at your option) |
8b89a26a JDA |
9 | any later version. |
10 | ||
8b89a26a JDA |
11 | GCC 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 | |
14 | GNU General Public License for more details. | |
15 | ||
748086b7 JJ |
16 | Under Section 7 of GPL version 3, you are granted additional |
17 | permissions described in the GCC Runtime Library Exception, version | |
18 | 3.1, as published by the Free Software Foundation. | |
19 | ||
20 | You should have received a copy of the GNU General Public License and | |
21 | a copy of the GCC Runtime Library Exception along with this program; | |
22 | see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
23 | <http://www.gnu.org/licenses/>. */ | |
8b89a26a | 24 | |
06dd33ac JDA |
25 | #include "tsystem.h" |
26 | ||
8b89a26a JDA |
27 | #ifdef L_register_frame_info |
28 | struct object; | |
06dd33ac | 29 | void __register_frame_info (const void *, struct object *); |
8b89a26a | 30 | void |
06dd33ac JDA |
31 | __register_frame_info (__attribute__((unused)) const void *p, |
32 | __attribute__((unused)) struct object *ob) | |
8b89a26a JDA |
33 | { |
34 | } | |
35 | #endif | |
36 | ||
37 | #ifdef L_deregister_frame_info | |
06dd33ac | 38 | void *__deregister_frame_info (const void *); |
8b89a26a | 39 | void * |
06dd33ac | 40 | __deregister_frame_info (__attribute__((unused)) const void *p) |
8b89a26a JDA |
41 | { |
42 | return (void *)0; | |
43 | } | |
44 | #endif | |
45 | ||
06dd33ac JDA |
46 | #ifdef L_ITM_registerTMCloneTable |
47 | struct object; | |
48 | void _ITM_registerTMCloneTable (const void *, size_t); | |
49 | void | |
50 | _ITM_registerTMCloneTable (__attribute__((unused)) const void *p, | |
51 | __attribute__((unused)) size_t s) | |
52 | { | |
53 | } | |
54 | #endif | |
55 | ||
56 | #ifdef L_ITM_deregisterTMCloneTable | |
57 | void _ITM_deregisterTMCloneTable (const void *); | |
58 | void | |
59 | _ITM_deregisterTMCloneTable (__attribute__((unused)) const void *p) | |
60 | { | |
61 | } | |
62 | #endif | |
63 | ||
8b89a26a | 64 | #ifdef L_cxa_finalize |
06dd33ac | 65 | void __cxa_finalize (void *); |
8b89a26a | 66 | void |
06dd33ac | 67 | __cxa_finalize (__attribute__((unused)) void *p) |
8b89a26a JDA |
68 | { |
69 | } | |
70 | #endif | |
71 | ||
72 | #ifdef L_Jv_RegisterClasses | |
06dd33ac | 73 | void _Jv_RegisterClasses (void *); |
8b89a26a | 74 | void |
06dd33ac | 75 | _Jv_RegisterClasses (__attribute__((unused)) void *p) |
8b89a26a JDA |
76 | { |
77 | } | |
78 | #endif | |
eddabc80 JDA |
79 | |
80 | #ifdef L_pthread_default_stacksize_np | |
06dd33ac | 81 | int pthread_default_stacksize_np (unsigned long, unsigned long *); |
eddabc80 | 82 | int |
06dd33ac JDA |
83 | pthread_default_stacksize_np (__attribute__((unused)) unsigned long new, |
84 | unsigned long *old) | |
eddabc80 JDA |
85 | { |
86 | if (old) | |
87 | *old = 0; | |
88 | return 0; | |
89 | } | |
90 | #endif | |
91 | ||
92 | #ifdef L_pthread_mutex_lock | |
93 | int pthread_mutex_lock (void); | |
94 | int | |
95 | pthread_mutex_lock (void) | |
96 | { | |
97 | return 0; | |
98 | } | |
99 | #endif | |
100 | ||
101 | #ifdef L_pthread_mutex_unlock | |
102 | int pthread_mutex_unlock (void); | |
103 | int | |
104 | pthread_mutex_unlock (void) | |
105 | { | |
106 | return 0; | |
107 | } | |
108 | #endif | |
109 | ||
110 | #ifdef L_pthread_once | |
111 | int pthread_once (void); | |
112 | int | |
113 | pthread_once (void) | |
114 | { | |
115 | return 0; | |
116 | } | |
117 | #endif |