Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    9072cd2c
    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
    History
    Add initial support executables on Solaris with gcc. Executables are
    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.