aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/glibc/sysdeps/sh
AgeCommit message (Collapse)Author
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-06-05update glibc start files to 2.39Andrew Kelley
README file stays intact.
2023-10-13update glibc start files to 2.38Andrew Kelley
I went ahead and left the README.md file deleted because it had broken git hashes. Better to use `git log -- lib/libc/glibc/` to find out the patches.
2022-01-14glibc: clean up build logicAndrew Kelley
also use the common naming convention for glibc versions ("2.33" rather than "2-33"). I also verified that these files are exactly identical to the previous files from before zig updated to glibc 2.34.
2022-01-14glibc: restore compatibility with glibc<=2.33 for global initializersxavier
__libc_start_main() from glibc.2.33.so or older needs to have a __libc_csu_init function callback parameter. glibc-2.34 on the other hand has a different __libc_start_main() that does not use it, and the start.S file from glibc-2.34 no longer construct the init function and pass null when calling __libc_start_main. So, When targetting an older glibc, use the start.s files as they were in glibc-2.33 and construct the __libc_csu_init function. fixes #10386 #10512
2021-12-15update glibc start files to 2.34Andrew Kelley
This commit introduces tools/update_glibc.zig to update the start files for next time. Some notable changes in recent glibc: * abi-note.S has been changed to abi-note.c but we resist the change to keep it easier to compile the start files. * elf-init.c has been deleted upstream. Further testing should be done to verify that binaries against glibc omitting elf-init.c still run properly on oldel glibc linux systems. Closes #4926
2020-03-04update glibc source files to 2.31Andrew Kelley
This is mostly minor modifications to license text.
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