diff options
author | midipix <writeonce@midipix.org> | 2019-08-03 17:11:53 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-03 17:11:53 +0000 |
commit | 3e250a3efa422253783279e5593fb8de05889cbc (patch) | |
tree | 908e0865d9ffad6fd9707758985d12de9ff356bf /src | |
parent | 85c78a082b808e6693b07bb63b9b5280b9b408e2 (diff) | |
download | mmglue-3e250a3efa422253783279e5593fb8de05889cbc.tar.bz2 mmglue-3e250a3efa422253783279e5593fb8de05889cbc.tar.xz |
midipix targets: __init_tls(): initialize the .sysinfo member.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/nt32/crt_glue.c | 1 | ||||
-rw-r--r-- | src/arch/nt64/crt_glue.c | 1 |
2 files changed, 2 insertions, 0 deletions
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; |