Fix visibility of check_sse2 symbol; DDLEXPORT doesn't work in gas source

db4
U-SLAVA-DFB8FF805\Slava 2008-11-04 00:04:18 -06:00
parent 46830bb38d
commit 72b34c7b47
2 changed files with 5 additions and 2 deletions

5
vm/cpu-x86.32.S Normal file → Executable file
View File

@ -51,3 +51,8 @@ DEF(bool,check_sse2,(void)):
ret
#include "cpu-x86.S"
#ifdef WINDOWS
.section .drectve
.ascii " -export:check_sse2"
#endif

2
vm/cpu-x86.32.h Normal file → Executable file
View File

@ -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);