/* Language Independent Runtime Library Copyright 1983-2009 by Green Hills Software,Inc. This program is the property of Green Hills Software, Inc, its contents are proprietary information and no part of it is to be disclosed to anyone except employees of Green Hills Software, Inc., or as agreed in writing signed by the President of Green Hills Software, Inc. */ #if defined(EMBEDDED) || defined(__OSE) #if defined(__ARM) || defined(__mips) #if defined(__ARM) #include #elif defined(__mips) #include #endif extern void __ghs_indgcount(void *head, void **ptail); void __ghs_gcount(void *tail) { void *head = __builtin_return_address(0); __ghs_indgcount(head, &tail); } #else #error "ind_gcnt.c is not valid. write a version for your target." #endif #endif