[Openmcl-cvs-notifications] r11329 - /trunk/source/lisp-kernel/x86-asmutils32.s

gb at clozure.com gb at clozure.com
Sun Nov 9 17:25:13 EST 2008


Author: gb
Date: Sun Nov  9 17:25:13 2008
New Revision: 11329

Log:
After several failed attempts to get freebsd_sigreturn() right,
implement it by jmping to C library sigreturn().

Modified:
    trunk/source/lisp-kernel/x86-asmutils32.s

Modified: trunk/source/lisp-kernel/x86-asmutils32.s
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/lisp-kernel/x86-asmutils32.s (original)
+++ trunk/source/lisp-kernel/x86-asmutils32.s Sun Nov  9 17:25:13 2008
@@ -167,10 +167,12 @@
         __(jmp *%esi)           /* On some platforms, we don't really retu=
rn */
 _endfn
 =

+        __ifdef([FREEBSD])
+        .globl C(sigreturn)
 _exportfn(C(freebsd_sigreturn))
-	__(movl $417,%eax)	/* SYS_sigreturn */
-	__(int $80)				=

-_endfn
+        __(jmp C(sigreturn))
+_endfn
+        __endif
 		=

 _exportfn(C(get_vector_registers))
 	__(ret)



More information about the Openmcl-cvs-notifications mailing list