Global constructors
Jie Zhang
zhangjie@magima.com.cn
Wed Oct 29 12:04:00 GMT 2003
Tiago Stein D'Agostini wrote:
>
> But I need to make it to call the global constructors (a call to it just
> before call to main). Unfortunatelly I am not able to put a call to __do_global_ctors_aux (LD indicates an undefined
> reference) even the __do_global_ctors_aux being there at the object file.
>
Although __do_global_ctors_aux exist in the object file, Maybe it is not
global. You'd better give out the link command line and the output of
readelf or nm for the object file.
Jie
More information about the Gcc
mailing list