Fix undefined function errors on PPC and MIPS.
authorStas Boukarev <stassats@gmail.com>
Tue, 6 Aug 2013 17:11:16 +0000 (21:11 +0400)
committerStas Boukarev <stassats@gmail.com>
Tue, 6 Aug 2013 17:11:16 +0000 (21:11 +0400)
commit1540c1c1d517c58fa9a41629beb65cdce7dfafb6
tree990b0096691d6881e745d64415c12f4f0f0c2dd7
parentd5520a24b6c356918c2f91bf91dae60f62e1d065
Fix undefined function errors on PPC and MIPS.

undefined_tramp hardcodes the register in which FDEFN resides, but the
format was recently changed (f69e89d..).

Other platforms can be susceptible to this.
A proper fix would avoid hardcoding this by exporting
sc-offset-scn-byte/sc-offset-offset-byte, and register offsets.

Thanks to the GCC Compile Farm project for providing machines for
testing and uncovering this.
NEWS
src/code/sc-offset.lisp
src/runtime/mips-assem.S
src/runtime/ppc-assem.S
tests/compiler.pure.lisp