Set up alien stack correctly on non-x86oids.
authorStas Boukarev <stassats@gmail.com>
Thu, 15 Aug 2013 17:52:24 +0000 (21:52 +0400)
committerStas Boukarev <stassats@gmail.com>
Thu, 15 Aug 2013 17:52:24 +0000 (21:52 +0400)
commit1d9fe1f6d7d64aa05993d414c1cd683a2ce231cc
treece8cd70ba8cae76e9f10641ff758a786ef8286f2
parent2b69e4fdba7249fb494635bf78bb3595e34c1eb7
Set up alien stack correctly on non-x86oids.

It's assumed that the C stack grows upward everywhere but X86oids,
which is not true. Define two new conditions,
ALIEN_STACK_GROWS_DOWNWARD and ALIEN_STACK_GROWS_UPWARD.

This fixes FFI issues on PPC.
13 files changed:
NEWS
src/runtime/alpha-arch.h
src/runtime/hppa-arch.h
src/runtime/mips-arch.h
src/runtime/ppc-arch.h
src/runtime/sparc-arch.h
src/runtime/thread.c
src/runtime/validate.h
src/runtime/x86-64-arch.h
src/runtime/x86-arch.h
tests/alloca.c [new file with mode: 0644]
tests/run-compiler.sh
tests/threads.impure.lisp