linux-user: remove MAX_ARG_PAGES limit
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Wed, 2 Sep 2015 01:38:53 +0000 (03:38 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 28 Sep 2015 13:29:11 +0000 (16:29 +0300)
commit59baae9a626396a3a05840279084c4bf2beb8f40
tree2a7f5e111a6dba05b2553f8fd1182b863ffb5090
parent84646ee25b68321624ef4768011e91064e4bd440
linux-user: remove MAX_ARG_PAGES limit

Instead of creating a temporary copy for the whole environment and
the arguments, directly copy everything to the target stack.

For this to work, we have to change the order of stack creation and
copying the arguments.

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>
linux-user/elfload.c
linux-user/flatload.c
linux-user/linuxload.c
linux-user/qemu.h
linux-user/syscall.c