libgcc: Fix __udivmoddi4 and __divmoddi4

This commit is contained in:
mintsuki 2021-04-03 15:26:58 +02:00
parent fc61ae76a0
commit 12aceadc76

View File

@ -41,6 +41,7 @@ __udivmoddi4:
div dword [esp+12]
mov ecx, dword [esp+20]
mov dword [ecx], edx
mov dword [ecx+4], 0
xor edx, edx
ret
@ -51,5 +52,6 @@ __divmoddi4:
idiv dword [esp+12]
mov ecx, dword [esp+20]
mov dword [ecx], edx
mov dword [ecx+4], 0
xor edx, edx
ret