linux-user: remove unused image_info members

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
Stefan Brüns 2015-09-02 03:38:52 +02:00 committed by Riku Voipio
parent ba02577cad
commit 84646ee25b
2 changed files with 0 additions and 5 deletions

View File

@ -1455,7 +1455,6 @@ static abi_ulong setup_arg_pages(abi_ulong p, struct linux_binprm *bprm,
for (i = 0 ; i < MAX_ARG_PAGES ; i++) { for (i = 0 ; i < MAX_ARG_PAGES ; i++) {
if (bprm->page[i]) { if (bprm->page[i]) {
info->rss++;
/* FIXME - check return value of memcpy_to_target() for failure */ /* FIXME - check return value of memcpy_to_target() for failure */
memcpy_to_target(stack_base, bprm->page[i], TARGET_PAGE_SIZE); memcpy_to_target(stack_base, bprm->page[i], TARGET_PAGE_SIZE);
g_free(bprm->page[i]); g_free(bprm->page[i]);
@ -2206,8 +2205,6 @@ int load_elf_binary(struct linux_binprm *bprm, struct image_info *info)
char *elf_interpreter = NULL; char *elf_interpreter = NULL;
info->start_mmap = (abi_ulong)ELF_START_MMAP; info->start_mmap = (abi_ulong)ELF_START_MMAP;
info->mmap = 0;
info->rss = 0;
load_elf_image(bprm->filename, bprm->fd, info, load_elf_image(bprm->filename, bprm->fd, info,
&elf_interpreter, bprm->buf); &elf_interpreter, bprm->buf);

View File

@ -36,8 +36,6 @@ struct image_info {
abi_ulong start_brk; abi_ulong start_brk;
abi_ulong brk; abi_ulong brk;
abi_ulong start_mmap; abi_ulong start_mmap;
abi_ulong mmap;
abi_ulong rss;
abi_ulong start_stack; abi_ulong start_stack;
abi_ulong stack_limit; abi_ulong stack_limit;
abi_ulong entry; abi_ulong entry;