From 3e250a3efa422253783279e5593fb8de05889cbc Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 3 Aug 2019 17:11:53 +0000 Subject: midipix targets: __init_tls(): initialize the .sysinfo member. --- src/arch/nt32/crt_glue.c | 1 + src/arch/nt64/crt_glue.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/arch/nt32/crt_glue.c b/src/arch/nt32/crt_glue.c index 6fd9919..16eaba9 100644 --- a/src/arch/nt32/crt_glue.c +++ b/src/arch/nt32/crt_glue.c @@ -46,6 +46,7 @@ void __init_tls (size_t * auxv) T.pt.self = &T.pt; T.pt.locale = &libc.global_locale; + T.pt.sysinfo = __sysinfo; T.pt.detach_state = DT_JOINABLE; T.pt.locale = &libc.global_locale; diff --git a/src/arch/nt64/crt_glue.c b/src/arch/nt64/crt_glue.c index 6fd9919..16eaba9 100644 --- a/src/arch/nt64/crt_glue.c +++ b/src/arch/nt64/crt_glue.c @@ -46,6 +46,7 @@ void __init_tls (size_t * auxv) T.pt.self = &T.pt; T.pt.locale = &libc.global_locale; + T.pt.sysinfo = __sysinfo; T.pt.detach_state = DT_JOINABLE; T.pt.locale = &libc.global_locale; -- cgit v1.2.3