2.063 merge
Jacob Carlborg
doob at me.com
Sun Jun 16 13:40:50 PDT 2013
On 2013-06-16 17:03, David Nadlinger wrote:
> Sure, it would in theory be possible to retrieve the start address of
> all shared objects using dl_iterate_phdr and then parse them using
> libelf to actually find the sections in there, but at this point, just
> using one global constructor per module seems like the much simpler
> approach.
Using a global module constructor doesn't sound that bad.
--
/Jacob Carlborg
More information about the digitalmars-d-ldc
mailing list