[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-11-10 19:20:24 +02:00
parent d4993c67cd
commit a34f1ed03c
2 changed files with 2 additions and 2 deletions
+1 -1
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
+1 -1
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