]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/config/pa/stublib.c
Update copyright years.
[thirdparty/gcc.git] / libgcc / config / pa / stublib.c
CommitLineData
8b89a26a 1/* Stub functions.
a945c346 2 Copyright (C) 2006-2024 Free Software Foundation, Inc.
8b89a26a
JDA
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
748086b7 8the Free Software Foundation; either version 3, or (at your option)
8b89a26a
JDA
9any later version.
10
8b89a26a
JDA
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
748086b7
JJ
16Under Section 7 of GPL version 3, you are granted additional
17permissions described in the GCC Runtime Library Exception, version
183.1, as published by the Free Software Foundation.
19
20You should have received a copy of the GNU General Public License and
21a copy of the GCC Runtime Library Exception along with this program;
22see 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
28struct object;
06dd33ac 29void __register_frame_info (const void *, struct object *);
8b89a26a 30void
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 38void *__deregister_frame_info (const void *);
8b89a26a 39void *
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
47struct object;
48void _ITM_registerTMCloneTable (const void *, size_t);
49void
50_ITM_registerTMCloneTable (__attribute__((unused)) const void *p,
51 __attribute__((unused)) size_t s)
52{
53}
54#endif
55
56#ifdef L_ITM_deregisterTMCloneTable
57void _ITM_deregisterTMCloneTable (const void *);
58void
59_ITM_deregisterTMCloneTable (__attribute__((unused)) const void *p)
60{
61}
62#endif
63
8b89a26a 64#ifdef L_cxa_finalize
06dd33ac 65void __cxa_finalize (void *);
8b89a26a 66void
06dd33ac 67__cxa_finalize (__attribute__((unused)) void *p)
8b89a26a
JDA
68{
69}
70#endif
71
72#ifdef L_Jv_RegisterClasses
06dd33ac 73void _Jv_RegisterClasses (void *);
8b89a26a 74void
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 81int pthread_default_stacksize_np (unsigned long, unsigned long *);
eddabc80 82int
06dd33ac
JDA
83pthread_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
93int pthread_mutex_lock (void);
94int
95pthread_mutex_lock (void)
96{
97 return 0;
98}
99#endif
100
101#ifdef L_pthread_mutex_unlock
102int pthread_mutex_unlock (void);
103int
104pthread_mutex_unlock (void)
105{
106 return 0;
107}
108#endif
109
110#ifdef L_pthread_once
111int pthread_once (void);
112int
113pthread_once (void)
114{
115 return 0;
116}
117#endif