Skip to content
  1. Sep 01, 2012
    • Raymond Toy's avatar
      Clean up RCS ids · eeab7066
      Raymond Toy authored
       * Get rid of the RCS Header stuff.  They're meaningless in git.
       * Add public domain comment to some of the files if the only comment
         was the RCS header.
      eeab7066
  2. Feb 05, 2012
  3. Nov 04, 2011
  4. Aug 02, 2010
  5. Aug 01, 2010
  6. Jul 31, 2010
    • rtoy's avatar
      For Linux and Darwin, we don't actually need to set the starting · 17a01e38
      rtoy authored
      address of the core sections.  In map_core_sections, we can map them
      to the correct addresses, just like we do on Solaris.
      
      lisp/elf.c:
      o Mmap the Lisp core sections with the correct address, not using the
        one in the executable itself, just like on Solaris.
      
      lisp/mach-o.c:
      o Add the array of addresses of the dynamic, static, and read-only
        spaces.
      o Mmap the Lisp core sections with the correct address, not using the
        one in the executable itself, just like on Solaris.
      o Small update to print out the names of the spaces, just like for elf
        files.
      
      tools/linker-x86.sh:
      o Don't need to tell the linker the starting addresses of the sections
        anymore for Linux and Darwin.  map_core_sections handles that.
      17a01e38
    • rtoy's avatar
      More cleanups. · 3db8a2bf
      rtoy authored
      o Disable all of those debugging prints.
      o Add ability to enable those debugging prints if desired.  (May go a
        way some day.)
      o Get rid of some compiler warnings.
      o Get rid of the global eh variable; it's not required to be global.
      3db8a2bf
    • rtoy's avatar
      Some cleanup of the names of main functions for creating executable · 35bcce9b
      rtoy authored
      images.
      
      lisp/elf.c:
      o Change write_elf_object, elf_cleanup, and elf_run_linker to
        write_space_object, obj_cleanup, and obj_run_linker.
      
      lisp/elf.h:
      o Update so that this can used for both elf and mach-o.  Not great,
        but I don't want to rename this file.
      
      lisp/mach-o.c:
      o Include elf.h
      o Remove items that are defined in elf.h.
      o Change function names from elf to mach_o.
      
      lisp/save.c:
      o Update names to new ones.
      35bcce9b
  7. Jul 30, 2010
    • rtoy's avatar
      First cut at executable images on Darwin/x86. The resulting · dc8b7cc2
      rtoy authored
      executable appears to work!
      
      bootfiles/20a/boot-2010-07-1.lisp:
      o Add :executable for darwin/x86.
      
      code/bsd-os.lisp:
      o Make :elf and :mach-o runtime features too.
      o Register :executable of :executable is defined.
      
      lisp/Config.x86_darwin:
      o Need mach-o.c
      o Add exec-final.c
      
      lisp/lisp.c:
      o Don't include elf.h if we're on Darwin since Darwin uses Mach-O, not
        ELF.
      o For Darwin, we get the initial function address from
        initial_function_addr, not from &initial_function_addr, like for
        Linux.
      
      lisp/save.c
      o Don't include libgen.h and elf.h on Darwin.
      
      tools/linker-x86.sh:
      o Update to support Darwin.
      
      tools/make-main-dist.sh:
      o Add support for executables on Darwin.
      
      lisp/mach-o.c:
      o Initial support for writing Mach-O files for the Lisp spaces.
      o Initial support for reading a Mach-O executable to find and map the
        Lisp spaces.
      dc8b7cc2