Global destructors and .dtors ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux