projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c069b
)
com32r: properly pass the command line string to __parse_argv
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 25 May 2009 04:10:32 +0000
(21:10 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 25 May 2009 04:10:32 +0000
(21:10 -0700)
Fix incorrect passing of the command line string to __parse_argv; what
was an leal should have been movl.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/sys/entry.S
patch
|
blob
|
history
diff --git
a/com32/lib/sys/entry.S
b/com32/lib/sys/entry.S
index
a189346
..
a3a1eaa
100644
(file)
--- a/
com32/lib/sys/entry.S
+++ b/
com32/lib/sys/entry.S
@@
-85,7
+85,7
@@
_start:
rep ; movsl
/* Parse the command line (assumes REGPARM) */
-
lea
l __com32+4@GOTOFF(%ebx),%edx # Command line
+
mov
l __com32+4@GOTOFF(%ebx),%edx # Command line
pushl %edx # Make space for argv
movl %esp,%eax
call __parse_argv