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