From 00fc4eb1799c96f256fa321bdf8c74e06b33fd70 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 3 Nov 2008 07:27:14 -0600 Subject: [PATCH] Fix Windows bootstrap: check_sse2 was not DLLEXPORT --- vm/cpu-x86.32.S | 2 +- vm/cpu-x86.32.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vm/cpu-x86.32.S b/vm/cpu-x86.32.S index 9e73bd6777..3e7e5c20e1 100644 --- a/vm/cpu-x86.32.S +++ b/vm/cpu-x86.32.S @@ -40,7 +40,7 @@ DEF(void,set_callstack,(F_STACK_FRAME *to, F_STACK_FRAME *from, CELL length, voi ret /* return _with new stack_ */ /* cpu.x86.32 calls this */ -DEF(bool,check_sse2,()): +DEF(bool,check_sse2,(void)): push %ebx mov $1,%eax cpuid diff --git a/vm/cpu-x86.32.h b/vm/cpu-x86.32.h index a81c9987c4..1d516c4703 100644 --- a/vm/cpu-x86.32.h +++ b/vm/cpu-x86.32.h @@ -5,3 +5,4 @@ register CELL rs asm("edi"); #define F_FASTCALL __attribute__ ((regparm (2))) +DLLEXPORT bool check_sse2(void);