serenity/Ports/gcc/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
..
dependencies-config.patch Ports: Switch to new ports system (#594) 2019-09-24 08:56:39 +02:00
gcc.patch Toolchain: Use crtbeginS and crtendS for shared objects 2020-01-01 23:05:17 +01:00