tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kernel constructor

On Nov 10, 2014 10:02 AM, "Masao Uebayashi" <> 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.


Home | Main Index | Thread Index | Old Index