mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:49:28 +02:00
* fixed program exitcode after change of operatingsystem_result from
word to longint git-svn-id: trunk@7473 -
This commit is contained in:
parent
a767e89a5b
commit
cc03eacd2a
@ -66,9 +66,6 @@ _start:
|
|||||||
.type _haltproc,@function
|
.type _haltproc,@function
|
||||||
_haltproc:
|
_haltproc:
|
||||||
mov 1, %g1 /* "exit" system call */
|
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 */
|
ta 0x10 /* dot the system call */
|
||||||
nop /* delay slot */
|
nop /* delay slot */
|
||||||
/* Die very horribly if exit returns. */
|
/* Die very horribly if exit returns. */
|
||||||
|
@ -87,9 +87,6 @@ _start:
|
|||||||
.type _haltproc,@function
|
.type _haltproc,@function
|
||||||
_haltproc:
|
_haltproc:
|
||||||
mov 1, %g1 /* "exit" system call */
|
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 */
|
ta 0x10 /* dot the system call */
|
||||||
nop /* delay slot */
|
nop /* delay slot */
|
||||||
/* Die very horribly if exit returns. */
|
/* Die very horribly if exit returns. */
|
||||||
|
@ -62,9 +62,6 @@ _start:
|
|||||||
.type _haltproc,@function
|
.type _haltproc,@function
|
||||||
_haltproc:
|
_haltproc:
|
||||||
mov 1, %g1 /* "exit" system call */
|
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 */
|
ta 0x10 /* dot the system call */
|
||||||
nop /* delay slot */
|
nop /* delay slot */
|
||||||
/* Die very horribly if exit returns. */
|
/* Die very horribly if exit returns. */
|
||||||
|
Loading…
Reference in New Issue
Block a user