* gcc-interface/trans.c (Subprogram_Body_to_gnu): Initialize locus.
[official-gcc.git] / libgcc / config / pa / stublib.c
blob33a1c5d08bdb553ff46d49bf3b47d0e1e827529c
1 /* Stub functions.
2 Copyright (C) 2006-2017 Free Software Foundation, Inc.
4 This file is part of GCC.
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
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
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.
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.
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/>. */
25 #include "tsystem.h"
27 #ifdef L_register_frame_info
28 struct object;
29 void __register_frame_info (const void *, struct object *);
30 void
31 __register_frame_info (__attribute__((unused)) const void *p,
32 __attribute__((unused)) struct object *ob)
35 #endif
37 #ifdef L_deregister_frame_info
38 void *__deregister_frame_info (const void *);
39 void *
40 __deregister_frame_info (__attribute__((unused)) const void *p)
42 return (void *)0;
44 #endif
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)
54 #endif
56 #ifdef L_ITM_deregisterTMCloneTable
57 void _ITM_deregisterTMCloneTable (const void *);
58 void
59 _ITM_deregisterTMCloneTable (__attribute__((unused)) const void *p)
62 #endif
64 #ifdef L_cxa_finalize
65 void __cxa_finalize (void *);
66 void
67 __cxa_finalize (__attribute__((unused)) void *p)
70 #endif
72 #ifdef L_Jv_RegisterClasses
73 void _Jv_RegisterClasses (void *);
74 void
75 _Jv_RegisterClasses (__attribute__((unused)) void *p)
78 #endif
80 #ifdef L_pthread_default_stacksize_np
81 int pthread_default_stacksize_np (unsigned long, unsigned long *);
82 int
83 pthread_default_stacksize_np (__attribute__((unused)) unsigned long new,
84 unsigned long *old)
86 if (old)
87 *old = 0;
88 return 0;
90 #endif
92 #ifdef L_pthread_mutex_lock
93 int pthread_mutex_lock (void);
94 int
95 pthread_mutex_lock (void)
97 return 0;
99 #endif
101 #ifdef L_pthread_mutex_unlock
102 int pthread_mutex_unlock (void);
104 pthread_mutex_unlock (void)
106 return 0;
108 #endif
110 #ifdef L_pthread_once
111 int pthread_once (void);
113 pthread_once (void)
115 return 0;
117 #endif