Skip to content

Commit

Permalink
bsd-user: Remove image_info.mmap
Browse files Browse the repository at this point in the history
This value is unused.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230818175736.144194-3-richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
  • Loading branch information
rth7680 authored and bsdimp committed Aug 28, 2023
1 parent 935f1dd commit 7db1873
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion bsd-user/elfload.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,6 @@ int load_elf_binary(struct bsd_binprm *bprm, struct target_pt_regs *regs,
/* OK, This is the point of no return */
info->end_data = 0;
info->end_code = 0;
info->mmap = 0;
elf_entry = (abi_ulong) elf_ex.e_entry;

/* XXX Join this with PT_INTERP search? */
Expand Down
1 change: 0 additions & 1 deletion bsd-user/qemu.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ struct image_info {
abi_ulong end_data;
abi_ulong start_brk;
abi_ulong brk;
abi_ulong mmap;
abi_ulong rss;
abi_ulong start_stack;
abi_ulong entry;
Expand Down

0 comments on commit 7db1873

Please sign in to comment.