summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/bits/fcntl.h1
-rw-r--r--arch/nt32/src/crt_glue.c3
-rw-r--r--arch/nt64/bits/fcntl.h1
-rw-r--r--arch/nt64/src/crt_glue.c3
4 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);
};