runtime/thread.h: Fix non-thread binding and control stack pointer access.
authorAlastair Bridgewater <nyef@kana.lisphacker.com>
Thu, 8 Nov 2012 23:32:36 +0000 (18:32 -0500)
committerAlastair Bridgewater <nyef@kana.lisphacker.com>
Thu, 8 Nov 2012 23:32:36 +0000 (18:32 -0500)
commitb607463d9035bab2f5f8ad3d40950da93d782176
treea9c354803a47565366376a78613e9ae2db450b75
parentdcf17f7d855d66c17b23c03a6fdc5cb0bc671175
runtime/thread.h: Fix non-thread binding and control stack pointer access.

  * In the non-threaded case, these macros used to break up into two
groups, one for x86oids and one for everything else.  This is wrong
just as soon as a non-x86oid port uses a static symbol for the binding
stack pointer.

  * Reorganize the non-threaded cases to parallel the structure of the
threaded case, dispatching on the presense of the static symbol for
binding stack access and specifically detecting non-x86oids for the
control frame pointer access.
src/runtime/thread.h