1.0.16.3: fnstsw %eax is invalid assembler syntax.
authorChristophe Rhodes <csr21@cantab.net>
Thu, 17 Apr 2008 14:46:17 +0000 (14:46 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Thu, 17 Apr 2008 14:46:17 +0000 (14:46 +0000)
Report and patch from Marijn Schouten (sbcl-devel 2008-04-10)

NEWS
src/runtime/x86-assem.S
version.lisp-expr

diff --git a/NEWS b/NEWS
index f9192b1..65c7865 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@ changes in sbcl-1.0.17 relative to 1.0.16:
     reference.
   * bug fix: fasl header checking is less vulnerable to different
     platform word lengths.
+  * bug fix: more correct assembler syntax for GNU binutils
+    2.18.50.0.4 support.  (thanks to Marijn Schouten)
 
 changes in sbcl-1.0.16 relative to 1.0.15:
   * minor incompatible change: revert the changes to sb-posix's error
index e90f972..a92113c 100644 (file)
@@ -127,7 +127,7 @@ GNAME(call_into_c):
 
 /* Check for a return FP value. */
        fxam
-       fnstsw  %eax
+       fnstsw  %ax
        andl    $0x4500,%eax
        cmpl    $0x4100,%eax
        jne     Lfp_rtn_value
index f89b06d..6de3458 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.16.2"
+"1.0.16.3"