ladybird/Toolchain/Patches
Andrew Kaster 2979491512 Toolchain: Use crtbeginS and crtendS for shared objects
Turns out the reason GCC wasn't as smart about startup code for
shared objects as we hoped is because nobody told it to be :D

Change the STARTFILE_SPEC and ENDFILE_SPEC in gcc/config/serenity.h to
skip crt0.o and to link the S variants of crtbegin
and crtend for shared objects.

Because we're using the crtbegin and crtend from libgcc, also tell
libgcc in libgcc/config.host to compile crtbeginS and crtendS from
crtstuff.c.
2020-01-01 23:05:17 +01:00
..
binutils.patch Update toolchain to binutils-2.33.1 gcc-9.2.0 2019-12-19 18:35:03 +01:00
gcc.patch Toolchain: Use crtbeginS and crtendS for shared objects 2020-01-01 23:05:17 +01:00