For some reasons, the _init and _fini parts don't yet work properly.
what's wrong with them? if it is a link problem, use gcc -nostartfiles.Well, I'm doing that, and it compiles and rt_init is called, but doesn't seem to be calling the module constructors, so maybe that is a very bad idea.