From 554d2c61eefc995bd1bd48af06f90e46745d0ce6 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 23 Nov 2017 11:00:00 -0500 Subject: _start(), ldso: integrated -mposix and explicit pty server dependency support. --- arch/nt32/src/crt_glue.c | 2 ++ arch/nt64/src/crt_glue.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'arch') diff --git a/arch/nt32/src/crt_glue.c b/arch/nt32/src/crt_glue.c index 4925513..d09ffd2 100644 --- a/arch/nt32/src/crt_glue.c +++ b/arch/nt32/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; 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; -- cgit v1.2.3