darwin-x86-lwp-fix-20060217
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Fri, 17 Feb 2006 16:41:28 +0000 (16:41 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 17 Feb 2006 16:41:28 +0000 (16:41 +0000)
make lwp work on darwin x86

src/lwp/process.i386.s

index 3dfae1a..9e7ddb3 100644 (file)
@@ -59,12 +59,6 @@ ENTRY(savecontext)
 L1:
        jmp     *f(%ebp)                        /* ebx = &f */
 
-#if !defined(AFS_DARWIN_ENV)
-/* Shouldn't be here....*/
-
-       call    _C_LABEL(abort)
-#endif
-
 /*
  * returnto(area2)
  *     struct savearea *area2;
@@ -85,8 +79,3 @@ ENTRY(returnto)
        popl    %ebp
        ret
 
-#if !defined(AFS_DARWIN_ENV)
-/* I see, said the blind man, as he picked up his hammer and saw! */
-       pushl   $1234
-       call    _C_LABEL(abort)
-#endif