summaryrefslogtreecommitdiffstats
path: root/linux-user/linuxload.c
diff options
context:
space:
mode:
authorWolfgang Schildbach2010-12-06 16:06:06 +0100
committerRiku Voipio2011-01-07 17:20:57 +0100
commit67af42ac5a6227d61a8ef4ba7289ada9418f2fb8 (patch)
treec5a5cc1fc507c71dba8528daacb4e649155c0962 /linux-user/linuxload.c
parentFix commandline handling for ARM semihosted executables (diff)
downloadqemu-67af42ac5a6227d61a8ef4ba7289ada9418f2fb8.tar.gz
qemu-67af42ac5a6227d61a8ef4ba7289ada9418f2fb8.tar.xz
qemu-67af42ac5a6227d61a8ef4ba7289ada9418f2fb8.zip
Remove dead code for ARM semihosting commandline handling
There are some bits in the code which were used to store the commandline for the semihosting call. These bits are now write-only and can be removed. Signed-off-by: Wolfgang Schildbach <wschi@dolby.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'linux-user/linuxload.c')
-rw-r--r--linux-user/linuxload.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-user/linuxload.c b/linux-user/linuxload.c
index 9ee27c3558..ac8c486c5f 100644
--- a/linux-user/linuxload.c
+++ b/linux-user/linuxload.c
@@ -174,8 +174,6 @@ int loader_exec(const char * filename, char ** argv, char ** envp,
retval = prepare_binprm(bprm);
- infop->host_argv = argv;
-
if(retval>=0) {
if (bprm->buf[0] == 0x7f
&& bprm->buf[1] == 'E'