On Thu, Oct 30, 2014 at 11:38 AM, Matt Thomas <m...@3am-software.com> wrote:
> arm doesn’t use .ctors/.dtors
>
> it has init/fini array instead.

The section names don't really matter.  Probably .kctors/.kdtors are
less confusing (+ to avoid confliction with rump).

> and where would they be executed?

Somewhere in sys/kern/init_main.c:main().  Kernel executes modules'
constructors.  I believe that Linux has already done the same way.

Reply via email to