summaryrefslogtreecommitdiffstats
path: root/linux-user
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
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')
-rw-r--r--linux-user/linuxload.c2
-rw-r--r--linux-user/qemu.h1
2 files changed, 0 insertions, 3 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'
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index e66a02bce3..32de2413f8 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -50,7 +50,6 @@ struct image_info {
abi_ulong saved_auxv;
abi_ulong arg_start;
abi_ulong arg_end;
- char **host_argv;
int personality;
};