diff options
author | Stefan O'Rear <sorear@fastmail.com> | 2020-09-03 05:56:46 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-02-29 16:36:55 -0500 |
commit | b28c44de8c3131b45588f61569b1711c987ba1c3 (patch) | |
tree | 7d96859d2728bdf84695978b22c53e6563c896c8 /src/thread/riscv32/__unmapself.s | |
parent | c34a8eedff904b7f3d8479bbec0be534e7a01fbb (diff) | |
download | musl-b28c44de8c3131b45588f61569b1711c987ba1c3.tar.gz |
riscv32: add thread support
Identical to riscv64 except for stack offsets in clone.
Diffstat (limited to 'src/thread/riscv32/__unmapself.s')
-rw-r--r-- | src/thread/riscv32/__unmapself.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/thread/riscv32/__unmapself.s b/src/thread/riscv32/__unmapself.s new file mode 100644 index 00000000..2849119c --- /dev/null +++ b/src/thread/riscv32/__unmapself.s @@ -0,0 +1,7 @@ +.global __unmapself +.type __unmapself, %function +__unmapself: + li a7, 215 # SYS_munmap + ecall + li a7, 93 # SYS_exit + ecall |