From 72b34c7b476b3c7d15f91edd6b055b069aab11af Mon Sep 17 00:00:00 2001 From: "U-SLAVA-DFB8FF805\\Slava" Date: Tue, 4 Nov 2008 00:04:18 -0600 Subject: [PATCH] Fix visibility of check_sse2 symbol; DDLEXPORT doesn't work in gas source --- vm/cpu-x86.32.S | 5 +++++ vm/cpu-x86.32.h | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 vm/cpu-x86.32.S mode change 100644 => 100755 vm/cpu-x86.32.h diff --git a/vm/cpu-x86.32.S b/vm/cpu-x86.32.S old mode 100644 new mode 100755 index 3e7e5c20e1..d903f8013d --- a/vm/cpu-x86.32.S +++ b/vm/cpu-x86.32.S @@ -51,3 +51,8 @@ DEF(bool,check_sse2,(void)): ret #include "cpu-x86.S" + +#ifdef WINDOWS + .section .drectve + .ascii " -export:check_sse2" +#endif diff --git a/vm/cpu-x86.32.h b/vm/cpu-x86.32.h old mode 100644 new mode 100755 index 1d516c4703..21f07cf2b4 --- a/vm/cpu-x86.32.h +++ b/vm/cpu-x86.32.h @@ -4,5 +4,3 @@ register CELL ds asm("esi"); register CELL rs asm("edi"); #define F_FASTCALL __attribute__ ((regparm (2))) - -DLLEXPORT bool check_sse2(void);