summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-05-27 21:00:01 -0400
committermidipix <writeonce@midipix.org>2015-05-27 21:00:01 -0400
commit1fabb209db4ee826ce88a353dc6003b64d5fe9d6 (patch)
tree3dfd5a56b8c8105a38754cb2b1e5f34ecb86d5bb /arch
parentc8159d9c8c8b973fe11477a9650bb84501c7d73b (diff)
downloadmmglue-1fabb209db4ee826ce88a353dc6003b64d5fe9d6.tar.bz2
mmglue-1fabb209db4ee826ce88a353dc6003b64d5fe9d6.tar.xz
adjust arch-specific files to match musl version 1.1.9.
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);
};