aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-08-17 11:42:32 +0200
committerAndrew Kelley <andrew@ziglang.org>2024-08-23 11:09:20 -0700
commit5dd2bb525d1f19969c450c2b99a71f866a4f01ff (patch)
tree3dac4b3d3d5facfdb2c8998ff50a45bfa0015da2 /lib/std/Thread
parentdf6907f6019ec178735f06e1b55cef6a90234201 (diff)
downloadzig-5dd2bb525d1f19969c450c2b99a71f866a4f01ff.tar.gz
zig-5dd2bb525d1f19969c450c2b99a71f866a4f01ff.zip
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.
Diffstat (limited to 'lib/std/Thread')
0 files changed, 0 insertions, 0 deletions