> On Nov 8, 2014, at 11:16 PM, Masao Uebayashi <uebay...@tombi.co.jp> wrote: > > Ideally the long hardcoded sequence of init functions in init_main:main() is > converted to a single vector whose order is resolved by modular dependency. > But for the moment such a hardcoded priority should be good enough to improve > modularity. > > Question - where to put the declarations (typedef, __link_set_decl())?
No more link sets please. Can’t we use __attributes__((__constructor__)) and __attributes__((destructor));