Fix visibility of check_sse2 symbol; DDLEXPORT doesn't work in gas source
parent
46830bb38d
commit
72b34c7b47
|
@ -51,3 +51,8 @@ DEF(bool,check_sse2,(void)):
|
||||||
ret
|
ret
|
||||||
|
|
||||||
#include "cpu-x86.S"
|
#include "cpu-x86.S"
|
||||||
|
|
||||||
|
#ifdef WINDOWS
|
||||||
|
.section .drectve
|
||||||
|
.ascii " -export:check_sse2"
|
||||||
|
#endif
|
||||||
|
|
|
@ -4,5 +4,3 @@ register CELL ds asm("esi");
|
||||||
register CELL rs asm("edi");
|
register CELL rs asm("edi");
|
||||||
|
|
||||||
#define F_FASTCALL __attribute__ ((regparm (2)))
|
#define F_FASTCALL __attribute__ ((regparm (2)))
|
||||||
|
|
||||||
DLLEXPORT bool check_sse2(void);
|
|
||||||
|
|
Loading…
Reference in New Issue