initializing eh

Olaf Petzold opetzold@wit.regiocom.net
Fri Jan 19 06:14:00 GMT 2001


Am Die, 16 Jan 2001 schrieben Sie:
> Would it work to link in crt[in].o, then simply call _init and _fini from
> init_module and cleanup_module?

Unfortunally there are no __init/__fini function. There are only some dummy
initializer which I can't call. It seems the asm places these into the elf
sections self. 
At moment I have no overview what does the asm/ld will do on linux/elf.

Regards
Olaf


More information about the Gcc mailing list