Commit 5fd507a9 by Doug Evans

(exit): Don't call __do_global_dtors if

INIT_SECTION_ASM_OP and OBJECT_FORMAT_ELF.

From-SVN: r8946
parent 49b6c81e
......@@ -2087,7 +2087,9 @@ void
exit (status)
int status;
{
+ #if !defined (INIT_SECTION_ASM_OP) || !defined (OBJECT_FORMAT_ELF)
__do_global_dtors ();
#endif
#ifdef EXIT_BODY
EXIT_BODY;
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment