diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2015-09-02 03:38:53 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2015-09-28 16:29:11 +0300 |
commit | 59baae9a626396a3a05840279084c4bf2beb8f40 (patch) | |
tree | 2a7f5e111a6dba05b2553f8fd1182b863ffb5090 /linux-user/flatload.c | |
parent | 84646ee25b68321624ef4768011e91064e4bd440 (diff) |
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>
Diffstat (limited to 'linux-user/flatload.c')
-rw-r--r-- | linux-user/flatload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/flatload.c b/linux-user/flatload.c index 566a7a87a3..ceacb9844a 100644 --- a/linux-user/flatload.c +++ b/linux-user/flatload.c @@ -707,7 +707,7 @@ static int load_flat_shared_library(int id, struct lib_info *libs) int load_flt_binary(struct linux_binprm *bprm, struct image_info *info) { struct lib_info libinfo[MAX_SHARED_LIBS]; - abi_ulong p = bprm->p; + abi_ulong p; abi_ulong stack_len; abi_ulong start_addr; abi_ulong sp; |