mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 19:09:32 +00:00
f1b14b91f1
__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 |
||
---|---|---|
.. | ||
bits | ||
coldfire | ||
m680x0 | ||
nptl/bits | ||
crti.S | ||
crtn.S | ||
start-2-33.S | ||
start.S | ||
symbol-hacks.h | ||
sysdep.h |