mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 12:19:30 +02:00
* fix loading of exit code in haltproc for armeb, exitcode is 32 bit
git-svn-id: trunk@8949 -
This commit is contained in:
parent
368cd52f97
commit
07ab578088
@ -72,8 +72,7 @@ _start:
|
||||
.globl _haltproc
|
||||
.type _haltproc,#function
|
||||
_haltproc:
|
||||
ldr r0,=operatingsystem_result
|
||||
ldrb r0,[r0]
|
||||
/* r0 contains exitcode */
|
||||
swi 0x900001
|
||||
b _haltproc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user