This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Global destructors and .dtors ?


Hello All !
I've observed that my gcc-3.3 handles global destructors using
__cxa_atexit() rather than using .dtors section. In my case I have not
__cxa_atexit() function, but I do have __do_global_dtors_aux from
crtstuff.c which handles .dtors section.
Can I somehow tell gcc to add global destructors to .dtors section ?

One more question: what is __static_initialization_and_destruction_0
function ? Can I disable generation of this function ?

In advance thanks a lot for your help.

-- 
           Best regards
               Vladimir


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