core: add support for .init/fini_table