zig/lib/libc/glibc/csu
Alex Rønne Petersen 5dd2bb525d glibc: Define _IO_stdin_used in start code and reference it in stub asm.
This is necessary to inform the real, non-stub glibc that a program built with
Zig is using a modern `FILE` structure, i.e. glibc 2.1+. This is particularly
important on lesser-used architectures where the legacy code is poorly tested;
for example, glibc 2.40 introduced a regression for the legacy case in the
libio cleanup code, causing all Zig-compiled MIPS binaries to crash on exit.
2024-08-23 11:09:20 -07:00
..
abi-note.S update glibc source files to 2.31 2020-03-04 14:59:09 -05:00
abi-tag.h move lib dirs to lib subdir 2019-07-15 17:54:50 -04:00
elf-init-2.33.c glibc: clean up build logic 2022-01-14 12:39:06 -07:00
errno.c update glibc start files to 2.39 2024-06-05 22:43:53 -07:00
init.c glibc: Define _IO_stdin_used in start code and reference it in stub asm. 2024-08-23 11:09:20 -07:00