diff options
author | midipix <writeonce@midipix.org> | 2017-11-23 11:00:00 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-11-23 11:00:00 -0500 |
commit | 554d2c61eefc995bd1bd48af06f90e46745d0ce6 (patch) | |
tree | ab57908a0c190ad8d91ba052df7c690e1c8f5692 /arch/nt32/src | |
parent | 31dfe38649f641ad2cbbc43c745c644bbdcc9182 (diff) | |
download | mmglue-554d2c61eefc995bd1bd48af06f90e46745d0ce6.tar.bz2 mmglue-554d2c61eefc995bd1bd48af06f90e46745d0ce6.tar.xz |
_start(), ldso: integrated -mposix and explicit pty server dependency support.
Diffstat (limited to 'arch/nt32/src')
-rw-r--r-- | arch/nt32/src/crt_glue.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |