Revision 97374d38 linux-user/elfload.c
b/linux-user/elfload.c | ||
---|---|---|
1018 | 1018 |
/* we reserve one extra page at the top of the stack as guard */ |
1019 | 1019 |
target_mprotect(error + size, qemu_host_page_size, PROT_NONE); |
1020 | 1020 |
|
1021 |
info->stack_limit = error; |
|
1021 | 1022 |
stack_base = error + size - MAX_ARG_PAGES*TARGET_PAGE_SIZE; |
1022 | 1023 |
p += stack_base; |
1023 | 1024 |
|
Also available in: Unified diff