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


>>>>> "Olaf" == Olaf Petzold <opetzold@wit.regiocom.net> writes:

> 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 ?

They're part of the standard ELF build environment.

> The problem is:
> unresolved symbol _GLOBAL_OFFSET_TABLE_ 

I think this should be provided by the linker.  It is used to set the PIC
register.

Jason


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