projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c909d1
)
Setup stack properly, fixes wrong argc value problem, by Magnus Damm.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 22 Jun 2007 10:13:51 +0000
(10:13 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 22 Jun 2007 10:13:51 +0000
(10:13 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3000
c046a42c
-6fe2-441c-8c8c-
71466251a162
linux-user/elfload.c
patch
|
blob
|
history
diff --git
a/linux-user/elfload.c
b/linux-user/elfload.c
index c0845fe6502b3ff88a9542566fef7d305f6199df..f844eff508cc4c2ffd18bb71e97f55b4d4a1fc22 100644
(file)
--- a/
linux-user/elfload.c
+++ b/
linux-user/elfload.c
@@
-325,7
+325,7
@@
static inline void init_thread(struct target_pt_regs *regs, struct image_info *i
{
/* Check other registers XXXXX */
regs->pc = infop->entry;
- regs->regs[15] = infop->start_stack
- 16 * 4
;
+ regs->regs[15] = infop->start_stack;
}
#define USE_ELF_CORE_DUMP