diff options
-rw-r--r-- | arch/nt32/bits/fcntl.h | 1 | ||||
-rw-r--r-- | arch/nt32/src/crt_glue.c | 3 | ||||
-rw-r--r-- | arch/nt64/bits/fcntl.h | 1 | ||||
-rw-r--r-- | arch/nt64/src/crt_glue.c | 3 | ||||
-rw-r--r-- | src/ldso/nt32/dlstart.s (renamed from src/ldso/nt32/start.s) | 0 | ||||
-rw-r--r-- | src/ldso/nt64/dlstart.s (renamed from src/ldso/nt64/start.s) | 0 |
6 files changed, 4 insertions, 4 deletions
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); }; diff --git a/src/ldso/nt32/start.s b/src/ldso/nt32/dlstart.s index d4815dd..d4815dd 100644 --- a/src/ldso/nt32/start.s +++ b/src/ldso/nt32/dlstart.s diff --git a/src/ldso/nt64/start.s b/src/ldso/nt64/dlstart.s index e710319..e710319 100644 --- a/src/ldso/nt64/start.s +++ b/src/ldso/nt64/dlstart.s |