]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix visibility of check_sse2 symbol; DDLEXPORT doesn't work in gas source
authorU-SLAVA-DFB8FF805\Slava <Slava@slava-dfb8ff805.(none)>
Tue, 4 Nov 2008 06:04:18 +0000 (00:04 -0600)
committerU-SLAVA-DFB8FF805\Slava <Slava@slava-dfb8ff805.(none)>
Tue, 4 Nov 2008 06:04:18 +0000 (00:04 -0600)
vm/cpu-x86.32.S [changed mode: 0644->0755]
vm/cpu-x86.32.h [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 3e7e5c2..d903f80
@@ -51,3 +51,8 @@ DEF(bool,check_sse2,(void)):
        ret
 
 #include "cpu-x86.S"
+
+#ifdef WINDOWS
+       .section .drectve
+       .ascii " -export:check_sse2"
+#endif
old mode 100644 (file)
new mode 100755 (executable)
index 1d516c4..21f07cf
@@ -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);