]> git.proxmox.com Git - wasi-libc.git/commit
Implement the critical part of wasi_thread_start in asm (#376)
authorYAMAMOTO Takashi <yamamoto@midokura.com>
Fri, 6 Jan 2023 19:34:22 +0000 (04:34 +0900)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2023 19:34:22 +0000 (11:34 -0800)
commit35fee1d9000954cdd064aadf27829e4f9d4b8711
tree7db82c88e97dbf417ca55acd78c4249160a6a4a8
parent082a15c5a92f044a2873d3a099dab863c037c7a8
Implement the critical part of wasi_thread_start in asm (#376)

* Implement the critical part of wasi_thread_start in asm

It's fragile to set up the critical part of C environment in C.

* Specify --target for asm files as well

* wasi_thread_start: Move __tls_base initialization to asm as well
Makefile
expected/wasm32-wasi-pthread/defined-symbols.txt
libc-top-half/musl/src/thread/pthread_create.c
libc-top-half/musl/src/thread/wasm32/wasi_thread_start.s [new file with mode: 0644]