1/* Stub functions. 2 Copyright (C) 2006-2015 Free Software Foundation, Inc. 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 8the Free Software Foundation; either version 3, or (at your option) 9any later version. 10 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 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/>. */ 24 25#include "tsystem.h" 26 27#ifdef L_register_frame_info 28struct object; 29void __register_frame_info (const void *, struct object *); 30void 31__register_frame_info (__attribute__((unused)) const void *p, 32 __attribute__((unused)) struct object *ob) 33{ 34} 35#endif 36 37#ifdef L_deregister_frame_info 38void *__deregister_frame_info (const void *); 39void * 40__deregister_frame_info (__attribute__((unused)) const void *p) 41{ 42 return (void *)0; 43} 44#endif 45 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 64#ifdef L_cxa_finalize 65void __cxa_finalize (void *); 66void 67__cxa_finalize (__attribute__((unused)) void *p) 68{ 69} 70#endif 71 72#ifdef L_Jv_RegisterClasses 73void _Jv_RegisterClasses (void *); 74void 75_Jv_RegisterClasses (__attribute__((unused)) void *p) 76{ 77} 78#endif 79 80#ifdef L_pthread_default_stacksize_np 81int pthread_default_stacksize_np (unsigned long, unsigned long *); 82int 83pthread_default_stacksize_np (__attribute__((unused)) unsigned long new, 84 unsigned long *old) 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 118