pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.143 2002/01/08 17:49:19 grubba Exp $"); + RCSID("$Id: main.c,v 1.144 2002/01/08 17:59:11 grubba Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "language.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/main.c:568: Inside #if defined(HAVE_GETRLIMIT) && defined(RLIMIT_STACK) and #if defined(_AIX) && defined(__ia64)
   lim.rlim_cur = 8*1024*1024;    }   #endif /* _AIX && __ia64 */      #if STACK_DIRECTION < 0    Pike_interpreter.stack_top -= lim.rlim_cur;   #else /* STACK_DIRECTION >= 0 */    Pike_interpreter.stack_top += lim.rlim_cur;   #endif /* STACK_DIRECTION < 0 */    - #if defined(__linux__) && defined(HAVE_DLOPEN) && defined(HAVE_DLFCN_H) + #if defined(__linux__) && defined(HAVE_DLOPEN) && defined(HAVE_DLFCN_H) && !defined(PPC)    {    char ** bos_location;    void *handle;    /* damn this is ugly -Hubbe */    if((handle=dlopen(0, RTLD_LAZY)))    {    bos_location=dlsym(handle,"__pthread_initial_thread_bos");       if(bos_location && *bos_location &&    (*bos_location - Pike_interpreter.stack_top) *STACK_DIRECTION < 0)
pike.git/src/main.c:601: Inside #if defined(HAVE_PTHREAD_INITIAL_THREAD_BOS)
   * __pthread_initial_thread_bos is the actual limit    */       if(__pthread_initial_thread_bos &&    (__pthread_initial_thread_bos - Pike_interpreter.stack_top) *STACK_DIRECTION < 0)    {    Pike_interpreter.stack_top=__pthread_initial_thread_bos;    }    }   #endif /* HAVE_PTHREAD_INITIAL_THREAD_BOS */ - #endif /* __linux__ && HAVE_DLOPEN && HAVE_DLFCN_H */ + #endif /* __linux__ && HAVE_DLOPEN && HAVE_DLFCN_H && !PPC*/      #if STACK_DIRECTION < 0    Pike_interpreter.stack_top += 8192 * sizeof(char *);   #else /* STACK_DIRECTION >= 0 */    Pike_interpreter.stack_top -= 8192 * sizeof(char *);   #endif /* STACK_DIRECTION < 0 */         #ifdef STACK_DEBUG    fprintf(stderr, "1: C-stack: 0x%08p - 0x%08p, direction:%d\n",