340 Commits (sunfishcode/dso-main)
 

Author SHA1 Message Date
Dan Gohman 15c27078b5 Detect `main(void)` vs `main(int argc, char *argv[])` in crt1-command.o. 1 year ago
Marcin Kolny 9f51a71020
Add definitions for PF_INET, PF_INET6 and PF_UNSPEC (#426) 1 year ago
Moritz Sichert ba5318e9a4
Acquire the global lock before initializing malloc (#410) 1 year ago
YAMAMOTO Takashi d8abbaac1b
dlmalloc: require __heap_end (#394) 1 year ago
Josh Stone bd950eb128
Use -fno-strict-aliasing for emmalloc (#424) 1 year ago
Andrew Brown 43e7123958
Improve `README.md` (#425) 1 year ago
YAMAMOTO Takashi 7018e24d8f
Fix a use-after-free bug for detached threads (#420) 1 year ago
Mike Hommey 5862047a55
Adjust Makefile for LLVM trunk (17) as of 2023-06-18 (#422) 1 year ago
YAMAMOTO Takashi aecd368c6d
Fix races around pthread exit and join (#409) 1 year ago
Dan Gohman a6f8713433
Convert preopen initialization to be lazy. (#408) 2 years ago
Jiri Pospisil 3189cd1cee
Update README regarding the Arch Linux package (#412) 2 years ago
Alex Crichton 38f48942fa
Fix debug build's `predefined-macros.txt` (#407) 2 years ago
Wenyong Huang 1dfe5c302d
Fix a_store operation in atomic.h (#403) 2 years ago
Cheng Shao f2a35a454e
Use __builtin_ctz and __builtin_clz in dlmalloc (#401) 2 years ago
Pier Angelo Vendrame 2e3947b670
Sort the object list passed to ar in the Makefile. (#399) 2 years ago
Sam Clegg 7069071858
Avoid using absolute pathnames in Makefile. NFC (#400) 2 years ago
Catherine a29c349a98
threads: enable `PTHREAD_{MUTEX,RWLOCK,COND}_INITIALIZER`. (#397) 2 years ago
YAMAMOTO Takashi b67d6b261d
setup_default_stack_size: set __default_stacksize unconditionally (#396) 2 years ago
YAMAMOTO Takashi 8daaba387c
Fix MSG_TRUNC (#391) 2 years ago
Cheng Shao 9bec2d3aff
Add a check to reactor modules to ensure _initialize is only called once (#388) 2 years ago
Marcin Kolny b4814997f6
threads: implement support for spinlock (#324) 2 years ago
YAMAMOTO Takashi 8f5275796a
Rename thread_spawn import (#387) 2 years ago
Andrew Brown 4362b1885f
threads: change `wasm32-wasi-pthread` to `wasm32-wasi-threads` (#381) 2 years ago
Andrew Brown 451065469a
threads: add `pthread_attr_setdetachstate` (#382) 2 years ago
Mike Hommey 04431e56b2
Remove hacks for clang 8 (#384) 2 years ago
Mike Hommey 16a694035f
Adjust Makefile for LLVM trunk (16) as of 2023-01-05 (#379) 2 years ago
YAMAMOTO Takashi a1c7c2c7a4
Use __BIGGEST_ALIGNMENT__ instead of max_align_t (#375) 2 years ago
Alex Crichton f2aac5f3b1
Don't use sbrk(0) to determine the initial heap size (#377) 2 years ago
YAMAMOTO Takashi 5a255d5af1
__init_tp: Initialize TID to non-zero value (#360) 2 years ago
YAMAMOTO Takashi 35fee1d900
Implement the critical part of wasi_thread_start in asm (#376) 2 years ago
Shengyun Zhou 082a15c5a9
Enable pthread_equal function definition (#374) 2 years ago
YAMAMOTO Takashi 7461de1b6d
Use a separate OBJDIR for each TARGET_TRIPLE (#373) 2 years ago
YAMAMOTO Takashi ebd3240030
wasi_thread_start: add a comment (#371) 2 years ago
Dan Gohman b8aa39947d
Use `ENOENT` rather than `ENOTCAPABLE` for missing preopens. (#370) 2 years ago
YAMAMOTO Takashi b36b752bd7
Disable pthread_exit for now (#366) 2 years ago
Marcin Kolny 957c7113c3
threads: Retrieve default stack size from __heap_base/__data_end (#350) 2 years ago
YAMAMOTO Takashi dfad6fecc9
Reduce over-allocation of stack (#365) 2 years ago
Petr Penzin fb9c9223ca
Add a separate install target for threaded libc (#331) 2 years ago
YAMAMOTO Takashi f687048b70
__wait.c: fix a timeout (#361) 2 years ago
YAMAMOTO Takashi defd63129d
Enable flockfile and friends (#362) 2 years ago
Andrew Brown dbcf819f4a
threads: enable access to `pthread_barrier_*` functions (#358) 2 years ago
YAMAMOTO Takashi a6e91a7b8c
Enable pthread_detach (#359) 2 years ago
Andrew Brown 0aa7a988f4
threads: enable access to `pthread_attr_get` functions (#357) 2 years ago
Dan Gohman 7250bd4165
Don't define `_POSIX_THREADS` unless threads are enabled. (#356) 2 years ago
YAMAMOTO Takashi f32e25870f
wasi_thread_start: remove a useless cast (#354) 2 years ago
YAMAMOTO Takashi 0b3b1bb9f1
__wasi_thread_spawn: stop truncating the return value (#353) 2 years ago
Mike Hommey 3a261b0380
Adjust Makefile for LLVM trunk (16) as of 2022-11-08 (#344) 2 years ago
Yuta Saito 8b7148f69a
Add `-fstack-protector` support to wasi-libc (#351) 2 years ago
Dan Gohman 6cd1be1f88
Fix logic errors in the zero-inode path. (#352) 2 years ago
Andrew Brown 8098d8621e
test: run a subset of tests using `libc-test` (#346) 2 years ago