aboutsummaryrefslogtreecommitdiff
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-01-09 09:10:50 +0000
committerRiku Voipio <riku.voipio@linaro.org>2014-01-10 08:51:37 +0200
commitf0116c5458dc3be398ee7ef8daeaa02ba738bdc1 (patch)
tree14b89b37faf6aa3ef1b37fb4f6dbdf126d76c799 /linux-user/elfload.c
parentb9d36eb2c7d73875ef44182f18d625f1bc4c7fda (diff)
downloadqemu-f0116c5458dc3be398ee7ef8daeaa02ba738bdc1.zip
qemu-f0116c5458dc3be398ee7ef8daeaa02ba738bdc1.tar.gz
qemu-f0116c5458dc3be398ee7ef8daeaa02ba738bdc1.tar.bz2
linux-user: Remove regs parameter of load_elf_binary and load_flt_binary
The regs parameter is not used anywhere, so remove it. Signed-off-by: Will Newton <will.newton@linaro.org> Reviewed-by: Erik de Castro Lopo <erikd@mega-nerd.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r--linux-user/elfload.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 8dd424d..5902f16 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -1998,8 +1998,7 @@ give_up:
free(syms);
}
-int load_elf_binary(struct linux_binprm * bprm, struct target_pt_regs * regs,
- struct image_info * info)
+int load_elf_binary(struct linux_binprm *bprm, struct image_info *info)
{
struct image_info interp_info;
struct elfhdr elf_ex;