Browse Source

* exit -> exit_group to exit so unterminated threads are killed too

git-svn-id: trunk@7474 -
Jonas Maebe 18 years ago
parent
commit
f8b40e90dc
3 changed files with 3 additions and 3 deletions
  1. 1 1
      rtl/linux/sparc/cprt0.as
  2. 1 1
      rtl/linux/sparc/gprt0.as
  3. 1 1
      rtl/linux/sparc/prt0.as

+ 1 - 1
rtl/linux/sparc/cprt0.as

@@ -65,7 +65,7 @@ _start:
 								.globl  _haltproc
         .type   _haltproc,@function
         _haltproc:
-       	mov	1, %g1			/* "exit" system call */
+       	mov	188, %g1			/* "exit" system call */
        	ta	0x10			/* dot the system call */
        	nop				/* delay slot */
        	/* Die very horribly if exit returns.  */

+ 1 - 1
rtl/linux/sparc/gprt0.as

@@ -86,7 +86,7 @@ _start:
         .globl  _haltproc
         .type   _haltproc,@function
   _haltproc:
-        mov	1, %g1			/* "exit" system call */
+        mov	188, %g1			/* "exit" system call */
         ta	0x10			/* dot the system call */
         nop				/* delay slot */
         /* Die very horribly if exit returns.  */

+ 1 - 1
rtl/linux/sparc/prt0.as

@@ -61,7 +61,7 @@ _start:
 .globl  _haltproc
 .type   _haltproc,@function
 _haltproc:
-	mov	1, %g1			/* "exit" system call */
+	mov	188, %g1			/* "exit_group" system call */
 	ta	0x10			/* dot the system call */
 	nop				/* delay slot */
 	/* Die very horribly if exit returns.  */