shared lib and __data_start

Jacob Carlborg doob at me.com
Mon Nov 12 01:16:26 PST 2012


On 2012-11-12 10:02, Jacob Carlborg wrote:

> I'm not sure but I think it won't. The runtime needs to iterate all
> loaded images (executables and dynamic libraries) and collect the data
> section of each image.

I think "dl_iterate_phdr" needs to be used. That is what the Boehm GC 
uses on Linux.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list