pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.724 2008/06/28 07:00:47 grubba Exp $ + || $Id: program.c,v 1.725 2008/06/28 09:08:08 mast Exp $   */      #include "global.h"   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "lex.h"
pike.git/src/program.c:10699:    "change_compiler_compatibility");    pop_stack();   }      #ifdef PIKE_USE_MACHINE_CODE      #ifdef HAVE_SYS_MMAN_H   #include <sys/mman.h>   #endif    - #ifdef HAVE_EXECINFO_H - #include <execinfo.h> - #endif -  +    void make_area_executable (char *start, size_t len)   {   #ifndef USE_MY_MEXEC_ALLOC    {    /* Perform page alignment. */    void *addr = (void *)(((size_t)start) & ~(page_size-1));    size_t l = ((start + len) - ((char *)addr) +    (page_size - 1)) & ~(page_size-1);       if (mprotect(addr, l, PROT_EXEC | PROT_READ | PROT_WRITE) < 0) {