This is the mail archive of the gcc-patches@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]

Re: [Patch/C++]: Use dllonexit for static destructors on mingw32


Danny Smith wrote:

Nit-picks:

+ @deftypefn {Target Hook} bool TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT
(void)
+ This hook returns true if target @code{atexit} function can be used in

if the target


+ the same manner as @code{__cxa_atexit} to register C++ static
+ destructors. This requires that @code{atexit}-registered functions in
+ shared libraries are run in correct order when the libraries unload.

in the correct order when the libraries are unloaded


This patch is OK. Thanks!

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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