[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/7] Remove dead code for ARM semihosting commandlin
From: |
Riku Voipio |
Subject: |
[Qemu-devel] [PATCH 7/7] Remove dead code for ARM semihosting commandline handling |
Date: |
Fri, 7 Jan 2011 22:52:35 +0200 |
From: Wolfgang Schildbach <address@hidden>
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 <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
---
bsd-user/bsdload.c | 2 --
bsd-user/qemu.h | 1 -
linux-user/linuxload.c | 2 --
linux-user/qemu.h | 1 -
4 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c
index 14a93bf..6d9bb6f 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 9763616..e343894 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;
};
diff --git a/linux-user/linuxload.c b/linux-user/linuxload.c
index 9ee27c3..ac8c486 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 e66a02b..32de241 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;
};
--
1.6.5
- [Qemu-devel] [PATCH 2/7] linux-user: Support ioctls whose parameter size is not constant, (continued)
[Qemu-devel] [PATCH 1/7] linux-user: Implement sync_file_range{, 2} syscalls, Riku Voipio, 2011/01/07
[Qemu-devel] [PATCH 7/7] Remove dead code for ARM semihosting commandline handling,
Riku Voipio <=
[Qemu-devel] [PATCH 6/7] Fix commandline handling for ARM semihosted executables, Riku Voipio, 2011/01/07
Re: [Qemu-devel] [PATCH 0/7] linux-user fixes for pull, Aurelien Jarno, 2011/01/08
[Qemu-devel] [PATCH] linux-user: fix for loopmount ioctl, Martin Mohring, 2011/01/08