Skip to content
Snippets Groups Projects
  1. Jul 25, 2007
    • cshapiro's avatar
      Use sa_sigaction signal handlers on Linux. The glibc definition of · 342beebb
      cshapiro authored
      sigset_t is different from the one used in the Linux kernel.  This means
      that we cannot make assignments of sigset_t objects without corrupting
      memory.  To work around this problem we update uc_sigmask differently
      on Linux than on other systems.  Also, remove x87 control word updates
      since the x87 is setup correctly inside call_into_lisp.
      342beebb
  2. Jul 24, 2007
    • rtoy's avatar
      Add initial support executables on Solaris with gcc. Executables are · 9072cd2c
      rtoy authored
      created and will run, but you can't load new files.  Still needs work.
      
      src/exec-init.c:
      o New file that defines builtin_image_flag and initial_function_addr,
        instead of being defined in lisp.c
      
      code/sunos-os.lisp:
      o Register the :executable feature if needed.
      
      lisp/GNUmakefile:
      o Add exec-init.c to list of src files.
      o Remove exec-init.o from lisp.a when building on Solaris.
      
      lisp/elf.c:
      o Port the elf code to Solaris.
        - Basically set up the correct values for the elf header and
          sections.
        - The ELF core sections on Solaris don't have valid addresses so we
          explicitly set them when mapping the core sections.
      
      lisp/elf.h
      o Use SOLARIS instead of sparc.
      
      lisp/lisp.c:
      o builtin_image_flag and initial_function_addr moved to exec-init.c.
      
      tools/linker.sh:
      o Support Solaris
      
      tools/make-main-dist.sh:
      o Support Solaris
      
      tools/SunOS-cmucl-linker-script:
      o New file for SunOS executable.
      9072cd2c
  3. Jul 23, 2007
  4. Jul 21, 2007
  5. Jul 09, 2007
  6. Jul 08, 2007
  7. Jul 07, 2007
  8. Jul 06, 2007
  9. May 30, 2007
    • rtoy's avatar
      This checkin adds some debugging code for the x86 heap corruption · f22fe508
      rtoy authored
      issue and also works around the heap corruption.  These are enabled if
      DEBUG_BAD_HEAP is #defined.
      
      gencgc.c:
      o Make print_ptr and verify_gc non-static so they can be used
        elsewhere.
      
      lisp.c:
      o Call verify_gc at startup (if enabled) so we can see the heap
        corruption.
      
      save.c:
      o Add debugging prints and stuff to see what's going on, if enabled.
      o The workaround is to skip over the call to
        update_dynamic_space_free_pointer in save().  See the comments there
        for more info.
      f22fe508
  10. Sep 15, 2005
  11. Sep 06, 2005
  12. Apr 15, 2005
    • rtoy's avatar
      lisp/lisp.c: · 1cceeb7e
      rtoy authored
      o Add function for ppc to compute the number of CPU cycles per
        timebase ticks.  Save this in a global variable.
      
      code/time.lisp:
      o Adjust cycle-count/float for ppc to use the cycles-per-tick to
        compute the actual number of CPU cycles, so we can display cycles
        instead of ticks.
      1cceeb7e
  13. Feb 04, 2005
  14. Jan 13, 2005
  15. Aug 17, 2004
  16. Jul 30, 2004
  17. Jul 08, 2004
    • rtoy's avatar
      Fix more compiler warnings: · a09fed84
      rtoy authored
      * alloc.c, coreparse.c, monitor.c, validate.c, vars.c:  #include some
        files to get declarations of functions.
      
      * coreparse.c, lisp.c, monitor.c: Fix printf warnings about args not
        matching the format string.
      a09fed84
  18. Jul 07, 2004
  19. May 20, 2004
  20. May 19, 2004
  21. Oct 13, 2003
  22. Sep 04, 2003
  23. Aug 21, 2003
  24. Aug 18, 2003
  25. Aug 12, 2003
    • gerd's avatar
      Lisp executable support. From Fred Gilham. · 297cb596
      gerd authored
      	* src/lisp/validate.c (image_dynamic_space_size): New variable.
      	(validate): Allocate spaces differently if the core is part
      	of the executable.
      
      	* src/lisp/lisp.c (initial_function_addr): New variable.
      	(main): Use it for the initial function if appropriate.
      297cb596
  26. Aug 04, 2003
  27. Jul 28, 2003
  28. Apr 28, 2003
    • cracauer's avatar
      · 257c3a31
      cracauer authored
      Don't damage argv[0] when startup code is invoced with absolute path.
      
      If we ever do a patch release this should be in.
      257c3a31
  29. Feb 25, 2003
  30. Feb 18, 2003
  31. Jan 29, 2003
    • toy's avatar
      o Adds support for searching for the lisp.core file based on the · a20170bc
      toy authored
        location of the lisp C binary, when CMUCLLIB is not given, and the
        core file is not specified.
      o Add support for a CMUCLCORE envvar, and a -lib option for setting
        the path for the library: search-list.
      o Added some spare static symbols for the sparc port so we don't have
        to cross-compile again for a while.
      
      See cmucl-imp archives for some more details.
      a20170bc
  32. Jan 23, 2003
    • toy's avatar
      From Eric Marsden: · f315d7f1
      toy authored
          fix typos in comments, signal more specific error types, remove
          some stale code, fix a few compiler warnings in the runtime.
      f315d7f1
  33. Aug 27, 2002
    • moore's avatar
      · bf84be07
      moore authored
      On x86 FreeBSD and Linux, change the way foreign symbol addresses are resolved.
      They now go through a table -- effectively a new space in the core file.
      Function references are resolved lazily, data references are resolved on startup
      and when a .so is loaded.  The end result is that cores can be dumped that
      contain references to symbols in shared libraries.  Also, the dependence of the core on addresses in the Lisp runtime is broken.
      
      The linkage table feature is controlled by :linkage-table and LINKAGE_TABLE in C
      runtime.  Several foreign symbols are now Lisp static symbols, so a cross
      compile is required whether or not the new stuff is used.  I've checked in
      boot4-cross-foreign-linkage.lisp that builds the compiler for linkage table; do whatever you usually do for the non-linkage table case:)  Seriously, lets start
      a discussion on standardizing "cross compilation," not to mention the general
      build procedure.
      bf84be07
  34. Jan 29, 2002
  35. Nov 29, 2001
  36. Feb 22, 2001
    • pw's avatar
      From Paul Foley · b221deeb
      pw authored
      A couple of typo corrections; fix main() in lisp.c (main returns int,
      not void!); stop ACCEPT-TCP-CONNECTION blocking other processes.
      b221deeb
  37. Oct 27, 2000
  38. Oct 24, 2000
Loading