diff options
Diffstat (limited to 'src/wrapped/wrappedldlinux.c')
| -rw-r--r-- | src/wrapped/wrappedldlinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedldlinux.c b/src/wrapped/wrappedldlinux.c index 90ec1b23..cd2ee420 100644 --- a/src/wrapped/wrappedldlinux.c +++ b/src/wrapped/wrappedldlinux.c @@ -31,7 +31,7 @@ EXPORT void* my___tls_get_addr(void* p) EXPORT void* my___libc_stack_end; void stSetup(box64context_t* context) { - my___libc_stack_end = context->stack; // is this the end, or should I add stasz? + my___libc_stack_end = context->stack + context->stacksz; } #ifdef STATICBUILD |