| Age | Commit message (Collapse) | Author |
|
Closes #18257.
|
|
Closes #23795.
|
|
|
|
Also avoid resolving symbols in libraries that were later removed if possible.
closes #24347
|
|
https://www.openwall.com/lists/musl/2025/10/12/4
See also 7b92d5f4052be651e9bc5cd4ad78a69ccbee865d...
|
|
|
|
loongarch64, riscv32, riscv64
https://www.openwall.com/lists/musl/2025/09/28/2
|
|
https://github.com/quic/musl/pull/7
|
|
https://www.openwall.com/lists/musl/2025/09/28/1
|
|
https://www.openwall.com/lists/musl/2025/09/27/1
closes #25367
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* getrandom was added in glibc 2.25
https://sourceware.org/bugzilla/show_bug.cgi?id=17252
* copy_file_range was added in glibc 2.27
https://sourceware.org/git/?p=glibc.git;a=commit;h=bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f
* threads.h should not exist for glibc < 2.28
* single_threaded.h should not exist for glibc < 2.35
* Apply suggestions from code review
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
* 2.35 instead of 35
* before 2.35 instead of 2.34 and before
---------
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
|
|
|
|
|
|
|
|
`libc`: Merge header directories for glibc and NetBSD libc where applicable
|
|
More target coverage in the module test matrix
|
|
libc: replace musl's and MinGW's trigonometric functions with compiler_rt's
|
|
|
|
- sinf
- cosf
- sincos
- sincosf
- tanf
|
|
|
|
- sin
- sinf
- cos
- cosf
- sincos
- sincosf
- tan
- tanf
|
|
This defines a WinMain() function that can be potentially problematic when it
isn't wanted. If we add back support for this library in the future, it should
be built separately from mingw32.lib and on demand.
|
|
Manual patches:
* lib/libc/include/csky-linux-gnu/gnu/{lib-names,stubs}.h
* lib/libc/include/powerpc-linux-gnu/bits/long-double.h
Takes lib/libc/include from 115.5 MB to 113.4 MB.
Closes #21258.
|
|
These were not intended to be included as NetBSD's RISC-V port has not had an
official release yet.
|
|
* libc: implement common `abs` for various integer sizes
* libc: move imaxabs to inttypes.zig and don't use cInclude
* libc: delete `fabs` c implementations because already implemented in compiler_rt
* libc: export functions depending on the target libc
Previously all the functions that were exported were handled equally,
though some may exist and some not inside the same file. Moving the
checks inside the file allows handling different functions differently
* remove empty ifs in inttypes
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
* remove empty ifs in stdlib
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
* libc: use `@abs` for the absolute value calculation
---------
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
|
|
Currently covers version 10.1.
|
|
* sysident_assym.h was manually expanded.
* The ELF_NOTE_MARCH_DESC and ELF_NOTE_MARCH_DESCSZ macros will be defined
by the compiler.
* Legacy .init/.fini stuff was removed.
* GCJ nonsense was removed.
|
|
sys/param.h was manually adjusted to not define __NetBSD_Version__ since it will
be defined by the compiler.
|
|
|
|
|
|
Currently covers version 1.7 (FreeBSD 14.0.0).
|
|
* NT_FREEBSD_ABI_TAG was manually adjusted from using a hardcoded value to using
__FreeBSD_version which will be defined by the compiler.
* GCJ stuff was removed.
* HAVE_CTORS definitions were removed.
|
|
osreldate.h and sys/param.h were manually adjusted to not __FreeBSD_version
since it will be defined by the compiler.
|
|
* Introduce common `bzero` libc implementation.
* Update test name according to review
Co-authored-by: Linus Groh <mail@linusgroh.de>
* address code review
- import common implementation when musl or wasi is included
- don't use `c_builtins`, use `@memset`
* bzero calling conv to .c
* Apply review
Co-authored-by: Veikka Tuominen <git@vexu.eu>
---------
Co-authored-by: Linus Groh <mail@linusgroh.de>
Co-authored-by: Veikka Tuominen <git@vexu.eu>
|