summaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorWolfgang Schildbach <wschi@dolby.com>2010-12-06 15:06:06 +0000
committerRiku Voipio <riku.voipio@iki.fi>2011-01-07 18:20:57 +0200
commit67af42ac5a6227d61a8ef4ba7289ada9418f2fb8 (patch)
treec5a5cc1fc507c71dba8528daacb4e649155c0962 /bsd-user
parent2e8785acc601f72dd10ce19929c455689fc2649d (diff)
downloadqemu-67af42ac5a6227d61a8ef4ba7289ada9418f2fb8.tar.gz
qemu-67af42ac5a6227d61a8ef4ba7289ada9418f2fb8.tar.bz2
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 'bsd-user')
-rw-r--r--bsd-user/bsdload.c2
-rw-r--r--bsd-user/qemu.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c
index 14a93bf39b..6d9bb6fb4e 100644
--- a/bsd-user/bsdload.c
+++ b/bsd-user/bsdload.c
@@ -176,8 +176,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/bsd-user/qemu.h b/bsd-user/qemu.h
index 976361622d..e343894ab1 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -50,7 +50,6 @@ struct image_info {
abi_ulong entry;
abi_ulong code_offset;
abi_ulong data_offset;
- char **host_argv;
int personality;
};