Ver Fonte

* fixed program exitcode after change of operatingsystem_result from
word to longint

git-svn-id: trunk@7473 -

Jonas Maebe há 18 anos atrás
pai
commit
cc03eacd2a
3 ficheiros alterados com 0 adições e 9 exclusões
  1. 0 3
      rtl/linux/sparc/cprt0.as
  2. 0 3
      rtl/linux/sparc/gprt0.as
  3. 0 3
      rtl/linux/sparc/prt0.as

+ 0 - 3
rtl/linux/sparc/cprt0.as

@@ -66,9 +66,6 @@ _start:
         .type   _haltproc,@function
         _haltproc:
        	mov	1, %g1			/* "exit" system call */
-       	sethi	%hi(operatingsystem_result),%o0
-       	or	%o0,%lo(operatingsystem_result),%o0
-       	ldsh	[%o0], %o0			/* give exit status to parent process*/
        	ta	0x10			/* dot the system call */
        	nop				/* delay slot */
        	/* Die very horribly if exit returns.  */

+ 0 - 3
rtl/linux/sparc/gprt0.as

@@ -87,9 +87,6 @@ _start:
         .type   _haltproc,@function
   _haltproc:
         mov	1, %g1			/* "exit" system call */
-        sethi	%hi(operatingsystem_result),%o0
-        or	%o0,%lo(operatingsystem_result),%o0
-        ldsh	[%o0], %o0			/* give exit status to parent process*/
         ta	0x10			/* dot the system call */
         nop				/* delay slot */
         /* Die very horribly if exit returns.  */

+ 0 - 3
rtl/linux/sparc/prt0.as

@@ -62,9 +62,6 @@ _start:
 .type   _haltproc,@function
 _haltproc:
 	mov	1, %g1			/* "exit" system call */
-	sethi	%hi(operatingsystem_result),%o0
-	or	%o0,%lo(operatingsystem_result),%o0
-	ldsh	[%o0], %o0			/* give exit status to parent process*/
 	ta	0x10			/* dot the system call */
 	nop				/* delay slot */
 	/* Die very horribly if exit returns.  */