Change default for -msave-toc-indirect
[official-gcc.git] / gcc / config / pa / stublib.c
blobd3cf559c8ab58d6b341d64362ba6a3f85f098238
1 /* Stub functions.
2 Copyright (C) 2006, 2009, 2010 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 #ifdef L_register_frame_info
26 struct object;
27 void __register_frame_info (const void * __attribute__((unused)),
28 struct object * __attribute__((unused)));
29 void
30 __register_frame_info (const void *p, struct object *ob)
33 #endif
35 #ifdef L_deregister_frame_info
36 void *__deregister_frame_info (const void * __attribute__((unused)));
37 void *
38 __deregister_frame_info (const void *p)
40 return (void *)0;
42 #endif
44 #ifdef L_cxa_finalize
45 void __cxa_finalize (void * __attribute__((unused)));
46 void
47 __cxa_finalize (void *p)
50 #endif
52 #ifdef L_Jv_RegisterClasses
53 void _Jv_RegisterClasses (void * __attribute__((unused)));
54 void
55 _Jv_RegisterClasses (void *p)
58 #endif
60 #ifdef L_pthread_default_stacksize_np
61 int pthread_default_stacksize_np (unsigned long __attribute__((unused)),
62 unsigned long *);
63 int
64 pthread_default_stacksize_np (unsigned long new, unsigned long *old)
66 if (old)
67 *old = 0;
68 return 0;
70 #endif
72 #ifdef L_pthread_mutex_lock
73 int pthread_mutex_lock (void);
74 int
75 pthread_mutex_lock (void)
77 return 0;
79 #endif
81 #ifdef L_pthread_mutex_unlock
82 int pthread_mutex_unlock (void);
83 int
84 pthread_mutex_unlock (void)
86 return 0;
88 #endif
90 #ifdef L_pthread_once
91 int pthread_once (void);
92 int
93 pthread_once (void)
95 return 0;
97 #endif