Check for init_priority GCC variable attribute and use it.