<p dir="ltr"><br>
On 27 Aug 2013 19:59, "Edward Z. Yang" <<a href="mailto:ezyang@cs.stanford.edu">ezyang@cs.stanford.edu</a>> wrote:<br>
><br>
> Excerpts from Simon Marlow's message of Sun Aug 25 12:56:06 -0700 2013:<br>
> > You can arrange that all the indirections end up next to each other by<br>
> > putting them in a special section. Then you can traverse the contents<br>
> > of the section so long as you have a symbol at the beginning and the<br>
> > end, or something like that. There are other ways to do it, such as<br>
> > having the module initialisation code register something with the RTS.<br>
><br>
> If I understand correctly, this is not true if you do something like<br>
> dynamic linking, in which case each dynamic library will have its<br>
> own indirection region. So in that case, every library should register<br>
> its boundary symbols with the RTS.</p>
<p dir="ltr">Yes, sorry I forgot to mention that.</p>
<p dir="ltr">Alternatively having each module register its table might be easier.</p>
<p dir="ltr">Cheers<br>
Simon</p>
<p dir="ltr">> Edward<br>
</p>