Fixed crash when use ASM code for MSYS2, thanks @SChernykh.

This commit is contained in:
XMRig 2018-09-24 20:43:31 +03:00
parent f4a867b70f
commit ebcdac7d13
2 changed files with 27 additions and 9 deletions

View file

@ -0,0 +1,15 @@
#define ALIGN .align
.intel_syntax noprefix
.section .text
.global cnv2_mainloop_ivybridge_asm
.global cnv2_mainloop_ryzen_asm
ALIGN 16
cnv2_mainloop_ivybridge_asm:
#include "cnv2_main_loop_ivybridge.inc"
ret 0
ALIGN 16
cnv2_mainloop_ryzen_asm:
#include "cnv2_main_loop_ryzen.inc"
ret 0