From 37b21700d4775b9f1010a6327d895f453ddae983 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Thu, 17 Apr 2008 14:46:17 +0000 Subject: [PATCH] 1.0.16.3: fnstsw %eax is invalid assembler syntax. Report and patch from Marijn Schouten (sbcl-devel 2008-04-10) --- NEWS | 2 ++ src/runtime/x86-assem.S | 2 +- version.lisp-expr | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index f9192b1..65c7865 100644 --- 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 diff --git a/src/runtime/x86-assem.S b/src/runtime/x86-assem.S index e90f972..a92113c 100644 --- a/src/runtime/x86-assem.S +++ b/src/runtime/x86-assem.S @@ -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 diff --git a/version.lisp-expr b/version.lisp-expr index f89b06d..6de3458 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -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" -- 1.7.10.4