This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]