Hey David, I came across this today which might be of interest to our discussion, while it is not related directly to the problem you mentioned it is similar. https://reviews.llvm.org/D37059 I will follow up with a patch for binutils to add __CTOR_END__ and __DTOR_END__ but it is interesting to note.
Martin we might have to add an exception in LLD for the 4 variables being optimised out for the COFF linker with LTO. (This is because there is no such thing as linker scripts for COFF) Best, Martell On Tue, Aug 22, 2017 at 9:23 PM, Martin Storsjö <[email protected]> wrote: > On Tue, 22 Aug 2017, Martell Malone wrote: > > pushed to master. >> > > Fantastic, thanks! > > > // Martin > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
