Conditionally move ppc closure_tramp and undefined_tramp to read-only space.
commite7951e8093d21be5e200cd1558242ca87f0d8c24
authorAlastair Bridgewater <nyef@kana.lisphacker.com>
Sun, 16 Nov 2014 22:04:45 +0000 (16 17:04 -0500)
committerStas Boukarev <stassats@gmail.com>
Thu, 1 Sep 2016 19:25:43 +0000 (1 22:25 +0300)
tree7f920dec0befb23430c8c24cf78608cae404f2ec
parentc5595691193d92441989abb2a4291ddd816aaace
Conditionally move ppc closure_tramp and undefined_tramp to read-only space.

  * This is more a proof-of-concept than anything that should be
committed upstream without careful thought.

  * Create the two new assembly-routines for the trampolines.

  * When the :READ-ONLY-TRAMPS build feature is enabled, use
assembly-routine references instead of foreign references for the
trampolines...  And disable building the runtime version of the
trampolines.

  * This causes no new failures in the test suite, which seems odd
because it almost certainly breaks SOMETHING in the debugger,
probably to do with SB!KERNEL:MAKE-LISP-OBJ.
src/assembly/ppc/tramps.lisp [new file with mode: 0644]
src/compiler/ppc/alloc.lisp
src/compiler/ppc/cell.lisp
src/runtime/ppc-assem.S