[Openmcl-cvs-notifications] r10794 - /trunk/source/lisp-kernel/x86-constants32.s
gb at clozure.com
gb at clozure.com
Wed Sep 17 18:12:47 EDT 2008
Author: gb
Date: Wed Sep 17 18:12:47 2008
New Revision: 10794
Log:
Define c_stack_16_byte_aligned. Not sure why I did it this way
rather than in m4.
It's not clear whether x8632 Linux tries too hard to maintain
16-byte stack alignment; it may be that main() forces the stack
to be aligned, but thread startup code on other threads doesn't
care. The ABI document from the mid 90s doesn't require anything
more than word alignment.
In any case, it's often not aligned right on Linux in practice,
so use this constant to conditionalize.
Modified:
trunk/source/lisp-kernel/x86-constants32.s
Modified: trunk/source/lisp-kernel/x86-constants32.s
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/lisp-kernel/x86-constants32.s (original)
+++ trunk/source/lisp-kernel/x86-constants32.s Wed Sep 17 18:12:47 2008
@@ -559,3 +559,9 @@
=
INTERRUPT_LEVEL_BINDING_INDEX =3D fixnumone
=
+
+ifdef([DARWIN],[
+c_stack_16_byte_aligned =3D 1
+],[
+c_stack_16_byte_aligned =3D 0
+]) =
More information about the Openmcl-cvs-notifications
mailing list