Setjmp has one argument and returns zero
authorKJK::Hyperion <hackbunny@reactos.org>
Fri, 4 Jun 2004 00:47:47 +0000 (00:47 +0000)
committerKJK::Hyperion <hackbunny@reactos.org>
Fri, 4 Jun 2004 00:47:47 +0000 (00:47 +0000)
svn path=/trunk/; revision=9607

reactos/lib/pseh/i386/setjmp.asm

index 3e95355..abc81b1 100644 (file)
@@ -24,9 +24,9 @@ segment .text use32
 ; Note: the undecorated names are for Borland C++ (and possibly other compilers
 ; using the OMF format)
 global SEHSetJmp
-global __SEHSetJmp
+global __SEHSetJmp@4
 SEHSetJmp:
-__SEHSetJmp@8:
+__SEHSetJmp@4:
  ; jump buffer
  mov eax, [esp+4]
 
@@ -43,6 +43,8 @@ __SEHSetJmp@8:
  mov [eax+12], ebx
  mov [eax+16], esi
  mov [eax+20], edi
+
+ xor eax, eax
  ret 4
 
 global SEHLongJmp