Skip to content

Commit

Permalink
Remove dead code for ARM semihosting commandline handling
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
  • Loading branch information
wschidol authored and suihkulokki committed Jan 7, 2011
1 parent 2e8785a commit 67af42a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions bsd-user/bsdload.c
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion bsd-user/qemu.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ struct image_info {
abi_ulong entry;
abi_ulong code_offset;
abi_ulong data_offset;
char **host_argv;
int personality;
};

Expand Down
2 changes: 0 additions & 2 deletions linux-user/linuxload.c
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion linux-user/qemu.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ struct image_info {
abi_ulong saved_auxv;
abi_ulong arg_start;
abi_ulong arg_end;
char **host_argv;
int personality;
};

Expand Down

0 comments on commit 67af42a

Please sign in to comment.