Skip to content
Snippets Groups Projects
Commit 9072cd2c authored by rtoy's avatar rtoy
Browse files

Add initial support executables on Solaris with gcc. Executables are

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.
parent e77e8a73
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment