Update of /cvsroot/sbcl/sbcl/src/compiler/x86-64
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8386/src/compiler/x86-64
Modified Files:
c-call.lisp
Log Message:
0.9.8.47:
Clear the direction flag on Lisp -> C transitions, as
required by the x86-64 ABI. Fixes mysterious GC crashes on
SuSE. (reported by Andrej Grozin and Hendrik Maryns)
Index: c-call.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/compiler/x86-64/c-call.lisp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- c-call.lisp 8 Jan 2006 06:31:24 -0000 1.18
+++ c-call.lisp 20 Jan 2006 08:34:57 -0000 1.19
@@ -242,6 +242,8 @@
(:vop-var vop)
(:save-p t)
(:generator 0
+ ;; ABI: Direction flag must be clear on function entry. -- JES, 2006-01-20
+ (inst cld)
;; ABI: AL contains amount of arguments passed in XMM registers
;; for vararg calls.
(move-immediate rax
|