summaryrefslogtreecommitdiffstats
path: root/c/src/lib/start
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-25 14:14:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-25 14:14:46 +0000
commitc4e090299a298bb6bde3c1cc768456ba488efdab (patch)
tree92e71451779d6cd506a0c788fb51b6290bbeb9e5 /c/src/lib/start
parent85047f024f19d6ca8e094a9efc9bcfbec4a31696 (diff)
downloadrtems-c4e090299a298bb6bde3c1cc768456ba488efdab.tar.bz2
Corrected argument passing.
Diffstat (limited to 'c/src/lib/start')
-rw-r--r--c/src/lib/start/sh/start.s5
1 files changed, 2 insertions, 3 deletions
diff --git a/c/src/lib/start/sh/start.s b/c/src/lib/start/sh/start.s
index 4ef5b4ab0e..d36a531ae4 100644
--- a/c/src/lib/start/sh/start.s
+++ b/c/src/lib/start/sh/start.s
@@ -55,11 +55,10 @@ start_l:
ldc r8,vbr
! call the mainline
- mov #0,r4
- mov #0,r5
+ mov #0,r4 ! argc
mov.l main_k,r0
jsr @r0
- mov #0,r6
+ mov #0,r5 ! argv
! call exit
mov r0,r4