1
0
mirror of https://github.com/pmmp/musl-cross-make.git synced 2024-11-05 16:28:42 +00:00
musl-cross-make/litecross
Rich Felker 3398364d6e litecross: force gcc to use init/fini arrays
I overlooked that GCC was not doing this by default for musl, since
binutils ld automatically converts the .ctors/.dtors GCC emits to
init/fini arrays at link time. unfortunately lld does not do the same,
so without --enable-initfini-array, GCC produces object files that lld
will mislink unless it was configured with support for legacy GCC
ctors.
2021-07-09 12:33:39 -04:00
..
Makefile litecross: force gcc to use init/fini arrays 2021-07-09 12:33:39 -04:00