Skip to content
Snippets Groups Projects
Commit 5568e737 authored by rtoy's avatar rtoy
Browse files

This set of changes removes the constraint of the READ-ONLY space

having to be in low memory.  This is done be replacing the absolute
branch instructions with equivalents that can branch anywhere.  This
adds a few extra instructions everywhere.  Oh well.

We also move the READ-ONLY space to a different location so we don't
need the linker hacks and the darwinadjuster hacks.

A basic cross-compile is necessary.  Use boot-2006-11-1-cross-ppc.lisp
for this.

assembly/ppc/assem-rtns.lisp:
compiler/ppc/call.lisp:
o Replace BA instruction with BCTR.

assembly/ppc/support.lisp:
o Replace BLA instruction with BCTRL.
o Replace BA instruction with BCTR.

compiler/ppc/parms.lisp:
lisp/ppc-validate.h:
o Move the read-only space to #x04000000 instead of #x01000000.  (This
  address appears to be free.)

lisp/Config.ppc_darwin:
o Comment out the linker flags for the CMUCLRO space.
o Don't run the darwin-lispadjuster program.  (We still build
  darwin-lispadjuster for now, but that should be removed eventually.)
parent e9c2a8ef
No related branches found
No related tags found
No related merge requests found
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