| Submitter | riku.voipio@linaro.org |
|---|---|
| Date | Oct. 12, 2012, 12:36 p.m. |
| Message ID | <1bdd7c7ea8a711efcb5141663865cc1f7e4e824d.1350044677.git.riku.voipio@linaro.org> |
| Download | mbox | patch |
| Permalink | /patch/191122/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1a38169..cf0b385 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -4962,8 +4962,8 @@ static int open_self_maps(void *cpu_env, int fd) #if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_UNICORE32) dprintf(fd, "%08llx-%08llx rw-p %08llx 00:00 0 [stack]\n", (unsigned long long)ts->info->stack_limit, - (unsigned long long)(ts->stack_base + (TARGET_PAGE_SIZE - 1)) - & TARGET_PAGE_MASK, + (unsigned long long)(ts->info->start_stack + + (TARGET_PAGE_SIZE - 1)) & TARGET_PAGE_MASK, (unsigned long long)0); #endif