mirror of
https://github.com/qemu/qemu.git
synced 2026-05-21 07:37:14 +00:00
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>
This commit is contained in:
committed by
Riku Voipio
parent
84646ee25b
commit
59baae9a62
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user