aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/musl/src/thread
AgeCommit message (Collapse)Author
2025-10-12musl: avoid r0 as address register in s390x __tls_get_offsetAlex Rønne Petersen
https://www.openwall.com/lists/musl/2025/10/12/4 See also 7b92d5f4052be651e9bc5cd4ad78a69ccbee865d...
2025-04-11musl: Add hexagon-linux-musl sources.Alex Rønne Petersen
This is from Qualcomm's fork: https://github.com/quic/musl I maintain a fork of musl where I rebase Qualcomm's changes on top of the latest musl release, which I then use as the basis for musl updates in Zig. My fork can be found here: https://github.com/alexrp/musl/tree/hexagon
2025-02-22musl: Fix typo in m68k clone() assembly.Alex Rønne Petersen
2025-02-08musl: Align the stack pointer given to clone() on riscv.Alex Rønne Petersen
2025-01-24musl: Manually inline __tls_get_addr into s390x __tls_get_offset.Alex Rønne Petersen
See these mailing list threads: * https://www.openwall.com/lists/musl/2024/11/23/3 * https://www.openwall.com/lists/musl/2025/01/24/1 This supplants cc73d7ad749df8d53da442faa2e7af5d69357b33.
2025-01-21libc: Remove a bunch of code for architectures we don't actually support.Alex Rønne Petersen
Namely: * alpha * hppa * ia64 * microblaze * nios2 * or1k * s390 * sh
2024-12-11musl: Add unwinding protection in clone() implementations.Alex Rønne Petersen
Whatever was in the frame pointer register prior to clone() will no longer be valid in the child process, so zero it to protect FP-based unwinders. This is just an extension of what was already done for i386 and x86_64. Only applied to architectures where the _start() code also zeroes the frame pointer.
2024-11-23musl: Mark __tls_get_addr as hidden before invoking it on s390x.Alex Rønne Petersen
https://www.openwall.com/lists/musl/2024/11/23/3
2024-06-04update musl source files to v1.2.5Andrew Kelley
adds loongarch64 and riscv32
2023-06-20musl: update src files to v1.2.4Andrew Kelley
2022-05-04musl: update to 1.2.3Isaac Freund
This was a bit trickier than it should be due to symbol conflicts with zig's compiler-rt implementation. We attempt to use weak linkage in our compiler-rt, but this does not seem to be working in all cases. I manually disabled export of the problematic compiler-rt math functions in order to cross compile musl's libc.so for all targets as input to `tools/gen_stubs.zig`. Other than that, this update went fairly smoothly. Quite a few additional symbols were added to the blacklist in `tools/gen_stubs.zig` due to recent reorganization of zig's compiler-rt.
2021-02-10musl: update to 1.2.2Isaac Freund
2020-11-06update musl sources to 1.2.1Andrew Kelley
2019-10-17update musl src to v1.1.24Andrew Kelley
2019-07-16update bundled musl source to 1.1.23Andrew Kelley
2019-07-15move lib dirs to lib subdirAndrew Kelley
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging