GasInfinity
514f6e589c
feat(libzigc): use common integer ato* and strto* implementations
...
* also removes their musl implementation
2026-01-12 00:55:11 +01:00
rpkak
08d37d6e14
compiler_rt: fix sqrtf implementation; libc: remove sqrt implementations
2026-01-10 00:09:54 +01:00
rpkak
813ae89208
libc -> libzigc: copysign
2026-01-10 00:09:54 +01:00
rpkak
aa7dac9739
libc: remove fmin/fmax implementations
2026-01-10 00:09:54 +01:00
rpkak
a2861a6c8d
libc: remove fmod implementations
2026-01-10 00:09:54 +01:00
rpkak
9dd32d5e65
libc: remove some more log implementations
2026-01-10 00:09:54 +01:00
GasInfinity
6abb1dcd35
feat(libzigc): add common ctype implementation
...
* implements all functions in the standard `ctype.h` header
* also removes their musl implementations
2026-01-09 02:51:29 +01:00
GasInfinity
7f6eab2704
feat(libzigc): add nan, nanf, nanl and bsearch
...
* also remove musl implementation
2026-01-09 00:26:20 +01:00
GasInfinity
335c0fcba1
feat(libzigc): add div, ldiv, lldiv and imaxdiv
...
* also remove musl implementation
2026-01-07 21:53:40 +01:00
GasInfinity
fa625e878f
feat(libzigc): add qsort
...
* also remove musl implementation
2026-01-07 00:06:57 +01:00
Alex Rønne Petersen
e226df2ed5
Merge pull request 'add OpenBSD libc cross-compilation support' ( #30064 ) from alexrp/zig:openbsd into master
...
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/30064
Reviewed-by: Andrew Kelley <andrewrk@noreply.codeberg.org >
2026-01-06 16:12:54 +01:00
Alex Rønne Petersen
4d3a847cd1
libc: add openbsd libc startup code for 7.8
2026-01-05 14:52:48 +01:00
Alex Rønne Petersen
de13923d69
libc: add openbsd 7.8 abilists
2026-01-05 14:52:48 +01:00
Alex Rønne Petersen
66d97267c7
libc: add openbsd 7.8 headers
...
This excludes all headers in /usr/include/dev because that directory is bonkers
huge (18M). We can add these on an as-needed basis.
2026-01-05 14:52:48 +01:00
mercenary
eab93d3574
libc: remove log/f, log2/f and log10/f
...
These symbols are already provided by compiler_rt
2026-01-01 15:25:40 +01:00
mercenary
814b1e9a58
libc: remove fmod, fmodf and fmodl
...
These symbols are already provided by compiler_rt
2026-01-01 15:18:44 +01:00
mercenary
bffd5c5112
libc: remove exp2 and exp2f
...
These symbols are already provided by compiler_rt
2025-12-30 18:27:19 +01:00
mercenary
1c05823ff8
libc: remove exp and expf
...
These symbols are already provided by compiler_rt
2025-12-29 15:55:18 +01:00
mercenary
5e4aefd2a6
libc: remove bcmp
...
This symbol is already provided by compiler_rt
2025-12-29 15:54:04 +01:00
Alex Rønne Petersen
b27bdd5af0
libc: add back freebsd bsm headers
...
Accidentally removed in #30135 .
2025-12-21 03:54:17 +01:00
Linus Groh
648c1c5d28
libc: Update macOS headers to SDK 26.2
2025-12-14 20:35:07 +00:00
Alex Rønne Petersen
27e5047a88
musl: add nop after b to __dlsym in powerpc64 ldso code
...
https://www.openwall.com/lists/musl/2025/12/12/1
2025-12-12 02:10:41 +01:00
Alex Rønne Petersen
1add36403a
musl: add nop after bl to start_c in powerpc64 crt code
...
https://www.openwall.com/lists/musl/2025/12/11/4
2025-12-12 00:52:07 +01:00
Alex Rønne Petersen
5b8545e4d9
libc: update headers from freebsd 15
2025-12-07 09:32:28 +01:00
Alex Rønne Petersen
51f62ea918
libc: update startup code from freebsd 15
2025-12-07 09:18:38 +01:00
Alex Rønne Petersen
6906460d56
libc: add freebsd 15 abilists file
2025-12-07 09:18:19 +01:00
Luna Schwalbe
adc5a39de2
Change github links to codeberg
2025-12-05 14:12:39 +01:00
Alex Rønne Petersen
ca7523742f
libc: rename any-macos-any to any-darwin-any
2025-11-14 19:19:00 +01:00
Linus Groh
f55eb18abb
libc: Add mach-o/getsect.h and mach/exception.h macOS headers
...
Closes #18257 .
2025-11-04 21:51:48 +00:00
Linus Groh
e2fb103ce1
libc: Add all macOS CommonCrypto headers
...
Closes #23795 .
2025-11-04 21:48:06 +00:00
Linus Groh
abca5bd588
libc: Update macOS headers to SDK 26.1
2025-11-04 21:40:21 +00:00
Alex Rønne Petersen
031b0d6063
glibc: change library link order to prefer libc.so symbols
...
Also avoid resolving symbols in libraries that were later removed if possible.
closes #24347
2025-10-19 11:50:32 +02:00
Alex Rønne Petersen
9b4f2b40e3
musl: avoid r0 as address register in s390x __tls_get_offset
...
https://www.openwall.com/lists/musl/2025/10/12/4
See also 7b92d5f4052be651e9bc5cd4ad78a69ccbee865d...
2025-10-12 11:38:43 +02:00
Alex Rønne Petersen
df1909900c
libc: update Linux headers to 6.17
2025-09-29 22:53:06 +02:00
Alex Rønne Petersen
ba19c1104b
musl: delete dead __restore and __restore_rt functions for hexagon, loongarch64, riscv32, riscv64
...
https://www.openwall.com/lists/musl/2025/09/28/2
2025-09-28 17:04:56 +02:00
Alex Rønne Petersen
993a1a3df1
musl: delete SA_RESTORER for hexagon
...
https://github.com/quic/musl/pull/7
2025-09-28 16:25:24 +02:00
Alex Rønne Petersen
e89cb377d0
musl: delete SA_RESTORER for riscv32
...
https://www.openwall.com/lists/musl/2025/09/28/1
2025-09-28 15:54:21 +02:00
Alex Rønne Petersen
1f7ee99b35
musl: add missing fenv C dummy functions for loongarch64-linux-muslsf
...
https://www.openwall.com/lists/musl/2025/09/27/1
closes #25367
2025-09-27 17:13:29 +02:00
Kyle Schwarz
6260d2772f
glibc: guard inet-fortified.h
2025-09-24 02:55:50 +02:00
Linus Groh
93218eacaa
libc: Update macOS headers to SDK 26.0
2025-09-16 21:15:13 +01:00
Alex Rønne Petersen
dfa55e193d
musl: replace .data.rel.ro with .section .data.rel.ro,"aw"
...
The former was an LLVM extension that appears to have been removed in LLVM 21.
I won't bother fixing gen_stubs.zig; see #23881 .
2025-08-30 06:36:41 +02:00
David Senoner
70e22d79a4
libc: delete superfluous c and assembly trunc implementations
2025-08-28 20:09:07 +02:00
David Senoner
f707de15a1
libc: delete superfluous c and assembly ceil implementation
2025-08-28 07:33:50 +02:00
David Senoner
f6b0d64ddc
libc: remove c floorl implementaions forgotten in #24335
2025-08-27 13:40:08 +02:00
David Senoner
9399fcddce
libc: use zig isnan and derivates for mingw
2025-08-27 03:58:32 +02:00
Yefeng Li
aae5560712
Remove memcmp and memset from bundled musl and wasi
2025-08-27 03:35:18 +02:00
Alex Rønne Petersen
07cc32b004
wasi-libc: update to c89896107d7b57aef69dcadede47409ee4f702ee
2025-08-20 19:18:11 +02:00
Alex Rønne Petersen
234630bb8d
netbsd: add some missing system headers
...
The Lua headers are needed because, yes, NetBSD has a kernel module for Lua
support. soundcard.h is technically a system header but is installed by
libossaudio and so was missed previously.
This also removes some riscv headers that shouldn't have been added because
NetBSD does not yet officially support the riscv32/riscv64 ports.
Closes #24737 .
2025-08-14 08:25:08 +02:00
Alex Rønne Petersen
675b1a15a1
glibc: update crt0 code to 2.42
2025-08-01 09:00:27 +02:00
Alex Rønne Petersen
1804251dfb
glibc: update headers to 2.42
2025-07-31 22:02:37 +02:00