From 1fabb209db4ee826ce88a353dc6003b64d5fe9d6 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 27 May 2015 21:00:01 -0400 Subject: adjust arch-specific files to match musl version 1.1.9. --- arch/nt32/bits/fcntl.h | 1 + arch/nt32/src/crt_glue.c | 3 +-- arch/nt64/bits/fcntl.h | 1 + arch/nt64/src/crt_glue.c | 3 +-- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'arch') diff --git a/arch/nt32/bits/fcntl.h b/arch/nt32/bits/fcntl.h index 0fa8e19..ae233cc 100644 --- a/arch/nt32/bits/fcntl.h +++ b/arch/nt32/bits/fcntl.h @@ -15,6 +15,7 @@ #define O_DIRECT 040000 #define O_LARGEFILE 0100000 #define O_NOATIME 01000000 +#define O_PATH 010000000 #define O_TMPFILE 020200000 #define O_NDELAY O_NONBLOCK diff --git a/arch/nt32/src/crt_glue.c b/arch/nt32/src/crt_glue.c index 2559348..07d38de 100644 --- a/arch/nt32/src/crt_glue.c +++ b/arch/nt32/src/crt_glue.c @@ -37,8 +37,7 @@ void __init_tls (size_t * auxv) T.pt.locale = &libc.global_locale; T.pt.tid = __syscall(SYS_set_tid_address, &T.pt.tid); - libc.can_do_threads = 1; - libc.has_thread_pointer = 1; + libc.can_do_threads = 1; libc.tls_size = sizeof(struct __tls); }; diff --git a/arch/nt64/bits/fcntl.h b/arch/nt64/bits/fcntl.h index 9977713..1b88ad3 100644 --- a/arch/nt64/bits/fcntl.h +++ b/arch/nt64/bits/fcntl.h @@ -15,6 +15,7 @@ #define O_DIRECT 040000 #define O_LARGEFILE 0 #define O_NOATIME 01000000 +#define O_PATH 010000000 #define O_TMPFILE 020200000 #define O_NDELAY O_NONBLOCK diff --git a/arch/nt64/src/crt_glue.c b/arch/nt64/src/crt_glue.c index e621fdc..2913b19 100644 --- a/arch/nt64/src/crt_glue.c +++ b/arch/nt64/src/crt_glue.c @@ -37,8 +37,7 @@ void __init_tls (size_t * auxv) T.pt.locale = &libc.global_locale; T.pt.tid = __syscall(SYS_set_tid_address, &T.pt.tid); - libc.can_do_threads = 1; - libc.has_thread_pointer = 1; + libc.can_do_threads = 1; libc.tls_size = sizeof(struct __tls); }; -- cgit v1.2.3