Skip to content
Snippets Groups Projects
Commit 3a882467 authored by rtoy's avatar rtoy
Browse files

Change how we build executables for Linux. We no longer need the

hairy and fragile linker script.  Instead, we can use regular old gcc
to do what we need.

(Should also work for FreeBSD, but not yet implemented.)

lisp/elf.c:
o Include validate.h so we can get the starting addresses of the
  read-only, static, and dynamic spaces.
o Add special case for linux to run the linker script correctly.

lisp/elf.h:
o There's a separate linker script for Linux.

lisp/save.c:
o Temporarily don't run elf_cleanup so we can have easier
  testing/debugging.

tools/linker.sh:
o Don't need BIFLAG anymore.

tools/make-main-dist.sh:
o Install linker-x86.sh.
parent 8760ca06
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