Browse Source

* fix loading of exit code in haltproc for armeb, exitcode is 32 bit

git-svn-id: trunk@8949 -
micha 18 years ago
parent
commit
07ab578088
1 changed files with 1 additions and 2 deletions
  1. 1 2
      rtl/linux/arm/prt0.as

+ 1 - 2
rtl/linux/arm/prt0.as

@@ -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