Re: Final steps for shared library support

2016-05-23 Thread Johannes Pfau via D.gnu
Am Sun, 22 May 2016 20:41:03 +0200 schrieb Johannes Pfau : > > 2) We have to call _d_dso_registry once from every shared library and >from the main executable: >* DMD emits a weak function _d_dso_init into every object file. > Additionally it adds a weak reference to this into the .ct

Final steps for shared library support

2016-05-22 Thread Johannes Pfau via D.gnu
I've opened this pull request to finish the shared library support: https://github.com/D-Programming-GDC/GDC/pull/214 These are the remaining problems: 1) We have to find all ModuleInfos in any shared library or in the main executable (in the main executable even for statically linked libdr