(exit): Don't call __do_global_dtors if
INIT_SECTION_ASM_OP and OBJECT_FORMAT_ELF. From-SVN: r8946
This commit is contained in:
parent
49b6c81e48
commit
5fd507a942
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue