Revision 5fafdf24 linux-user/linuxload.c
b/linux-user/linuxload.c | ||
---|---|---|
140 | 140 |
return sp; |
141 | 141 |
} |
142 | 142 |
|
143 |
int loader_exec(const char * filename, char ** argv, char ** envp,
|
|
143 |
int loader_exec(const char * filename, char ** argv, char ** envp, |
|
144 | 144 |
struct target_pt_regs * regs, struct image_info *infop) |
145 | 145 |
{ |
146 | 146 |
struct linux_binprm bprm; |
... | ... | |
182 | 182 |
return -1; |
183 | 183 |
} |
184 | 184 |
} |
185 |
|
|
185 |
|
|
186 | 186 |
if(retval>=0) { |
187 | 187 |
/* success. Initialize important registers */ |
188 | 188 |
do_init_thread(regs, infop); |
Also available in: Unified diff