On Nov 10, 2014 10:02 AM, "Masao Uebayashi" <uebayasi%gmail.com@localhost> 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.