summaryrefslogtreecommitdiffhomepage
path: root/arch/nt64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nt64')
-rw-r--r--arch/nt64/src/crt_glue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nt64/src/crt_glue.c b/arch/nt64/src/crt_glue.c
index 4925513..d09ffd2 100644
--- a/arch/nt64/src/crt_glue.c
+++ b/arch/nt64/src/crt_glue.c
@@ -54,6 +54,7 @@ void __init_tls (size_t * auxv)
void __libc_entry_routine(
__app_main * __main,
__psx_init_routine * __psx_init,
+ const unsigned short * __ctty,
int options)
{
int argc;
@@ -64,6 +65,7 @@ void __libc_entry_routine(
/* ctx init */
ctx.size = sizeof(ctx);
ctx.options = options;
+ ctx.ctty = __ctty;
ctx.pthread_create_fn = pthread_create;
ctx.pthread_surrogate_fn= __pthread_surrogate_init;