(exit): Don't call __do_global_dtors if

INIT_SECTION_ASM_OP and OBJECT_FORMAT_ELF.

From-SVN: r8946
This commit is contained in:
Doug Evans 1995-02-13 23:22:38 +00:00
parent 49b6c81e48
commit 5fd507a942
1 changed files with 2 additions and 0 deletions

View File

@ -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