From patchwork Fri Jan 7 20:52:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 77914 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4242DB7121 for ; Sat, 8 Jan 2011 08:00:12 +1100 (EST) Received: from localhost ([127.0.0.1]:53406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbJPt-0003aE-JW for incoming@patchwork.ozlabs.org; Fri, 07 Jan 2011 16:00:09 -0500 Received: from [140.186.70.92] (port=60579 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbJIg-0008GH-Ri for qemu-devel@nongnu.org; Fri, 07 Jan 2011 15:52:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PbJIe-0007Vg-1T for qemu-devel@nongnu.org; Fri, 07 Jan 2011 15:52:42 -0500 Received: from afflict.kos.to ([92.243.29.197]:44854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PbJId-0007VX-QZ for qemu-devel@nongnu.org; Fri, 07 Jan 2011 15:52:39 -0500 Received: by afflict.kos.to (Postfix, from userid 1000) id 0757F265A2; Fri, 7 Jan 2011 20:52:35 +0000 (UTC) From: Riku Voipio To: qemu-devel@nongnu.org Date: Fri, 7 Jan 2011 22:52:35 +0200 Message-Id: <67af42ac5a6227d61a8ef4ba7289ada9418f2fb8.1294433287.git.riku.voipio@nokia.com> X-Mailer: git-send-email 1.6.5 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Riku Voipio , Wolfgang Schildbach Subject: [Qemu-devel] [PATCH 7/7] Remove dead code for ARM semihosting commandline handling X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Wolfgang Schildbach 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 Reviewed-by: Peter Maydell Signed-off-by: Riku Voipio --- 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; };