[CRT] Make ML based asm code GAS compatible

Our transpiler asmpp cannot handle rip relative addressing for "[symbol]".
This commit is contained in:
Timo Kreuzer 2023-10-28 18:52:25 +03:00
parent d4993c67cd
commit a34f1ed03c
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ fmod PROC FRAME
jmp @fail
@fail:
lea rcx, [@fmodz] ; fname
lea rcx, @fmodz ; fname
mov edx, FPCODEFMOD ; opcode
; mov r8, INDEF ; value
mov r9d, DOMAIN ; type

View file

@ -142,7 +142,7 @@ fmodf PROC FRAME
jmp @fail
@fail:
lea rcx, [@fmodfz] ; fname
lea rcx, @fmodfz ; fname
mov edx, FPCODEFMOD ; opcode
; mov r8d, [rsp] ; value
mov r9d, DOMAIN ; type