On Thu, 23 Nov 2017, Martin Storsjö wrote:
On Thu, 23 Nov 2017, Kai Tietz via Mingw-w64-public wrote:
Martin,
patch looks ok. Be careful about the static symbol in custom section
that it is actually present in a finally linked version. Sometimes
gcc thinks ... that it can optimize away such static symbols. I had
to introduce for that dummy references to such symbols in the past.
See crt/* folder for that.
Yup, in this case I used __attribute__((__used__)) for that.
// Martin
Pushed - with one minor adjustment (we didn't need any
__MINGW_IMP_SYMBOL(_tzset), and by adding one it would recurse
infinitely).
// 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