On Nov 10, 2014 10:02 AM, "Masao Uebayashi" <uebay...@gmail.com> wrote: > > __attribute__((constructor(n))), where n being priority, can do > ordering (hint from pooka@). > > Question is, how to provide __CTOR_LIST__, __CTOR_LIST_END__ equivalent symbols. > > (It is super easy if MI linker script is there. :)
Constructors have priorities but it is a single global ordering which is a bit ugly to use. But it is a nice idea to use this mechanism. Justin