* fixed program exitcode after change of operatingsystem_result from

word to longint

git-svn-id: trunk@7473 -
This commit is contained in:
Jonas Maebe 2007-05-25 13:07:23 +00:00
parent a767e89a5b
commit cc03eacd2a
3 changed files with 0 additions and 9 deletions

View File

@ -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. */

View File

@ -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. */

View File

@ -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. */