]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commitdiff
Remove dead code for ARM semihosting commandline handling
authorWolfgang Schildbach <wschi@dolby.com>
Mon, 6 Dec 2010 15:06:06 +0000 (15:06 +0000)
committerRiku Voipio <riku.voipio@iki.fi>
Fri, 7 Jan 2011 16:20:57 +0000 (18:20 +0200)
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>
bsd-user/bsdload.c
bsd-user/qemu.h
linux-user/linuxload.c
linux-user/qemu.h

index 14a93bf39bbce09362c6277e4bd9a6ac583e1efe..6d9bb6fb4e8eac3fcb616ad795670ebfa1d0781d 100644 (file)
@@ -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'
index 976361622dfe60966adb52b5e23090df0a819337..e343894ab1ba30defed772aacffe6c04da4e8f48 100644 (file)
@@ -50,7 +50,6 @@ struct image_info {
     abi_ulong entry;
     abi_ulong code_offset;
     abi_ulong data_offset;
-    char      **host_argv;
     int       personality;
 };
 
index 9ee27c3558d3da1928f80afad455caeff9096b5f..ac8c486c5f2329bf56d50037a2b5bf01d5e8d737 100644 (file)
@@ -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'
index e66a02bce33b5c99486e26b443bcf94572d4cb63..32de2413f8f2d15f2ce7fe07c7646b3dcaa34477 100644 (file)
@@ -50,7 +50,6 @@ struct image_info {
         abi_ulong       saved_auxv;
         abi_ulong       arg_start;
         abi_ulong       arg_end;
-        char            **host_argv;
        int             personality;
 };