Branch: Tag:

2005-08-27

2005-08-27 20:30:12 by 0

Remove major bottleneck on Mac OS X systems. This cuts Pike startup time
almost in half and shaves 5+ seconds off Roxen CMS startup on a G5.

Rev: src/code/ppc32.c:1.38
Rev: src/configure.in:1.911

1: - AC_REVISION("$Id: configure.in,v 1.910 2005/08/10 13:06:34 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.911 2005/08/27 20:30:12 jonasw Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2072:    AC_SYS_COMPILER_FLAG(-framework Foundation, framework_Foundation, LDFLAGS)    AC_SYS_COMPILER_FLAG(-framework System, framework_System, LDFLAGS)    +  # Needed for MakeDataExecutable which comes from CarbonLib +  AC_SYS_COMPILER_FLAG(-framework CoreServices, framework_CoreServices, LDFLAGS) +     # -flat_namespace only needed for linking with libMallocDebug    # AC_SYS_COMPILER_FLAG(-flat_namespace, flat_namespace, LDFLAGS)   
2439:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.910 2005/08/10 13:06:34 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.911 2005/08/27 20:30:12 jonasw Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2477:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.910 2005/08/10 13:06:34 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.911 2005/08/27 20:30:12 jonasw Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2486:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.910 2005/08/10 13:06:34 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.911 2005/08/27 20:30:12 jonasw Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
3169:    stddef.h mmx.h asm/mmx.h sys/termio.h sys/termios.h \    ws2tcpip.h valgrind/memcheck.h memcheck.h valgrind.h \    sys/prctl.h sys/ioctl.h mach/task_info.h mach/task.h \ -  mach/mach_init.h syscall.h sys/syscall.h devices/timer.h,,,[ +  mach/mach_init.h syscall.h sys/syscall.h devices/timer.h \ +  CoreServices/CoreServices.h,,,[   #if (defined(__WINNT__) || defined(__WIN32__)) && !defined(__NT__)   #define __NT__   #endif
4298:    thr_yield \    prctl \    sync_instruction_memory \ +  MakeDataExecutable \   )      # SunOS 4 realloc() returns NULL when reallocing NULL.