This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: initializing eh
Am Don, 01 Mär 2001 schrieben Sie:
> >>>>> "Olaf" == Olaf Petzold <opetzold@wit.regiocom.net> writes:
>
> > Am Don, 01 Mär 2001 schrieben Sie:
> >> I still think you should be able to call _init from init_module and _fini
> >> from cleanup_module.
>
> > The crtstuff hasn't such functions.
>
> No, they are provided by /usr/lib/crt[in].o.
Interesting, where does it comes from - gcc ?
The problem is:
unresolved symbol _GLOBAL_OFFSET_TABLE_
# nm /usr/lib/crti.o
U _GLOBAL_OFFSET_TABLE_
w __gmon_start__
00000000 ? _fini
00000000 ? _init
00000000 t gcc2_compiled.
Thanks
Olaf