libgcc2.c (__do_global_dtors): Protect __deregister_frame_info from multiple calls.
* libgcc2.c (__do_global_dtors): Protect __deregister_frame_info from multiple calls. From-SVN: r29979
This commit is contained in:
parent
69404d6fff
commit
a4ebb0e69f
|
@ -1,3 +1,8 @@
|
||||||
|
1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
|
||||||
|
|
||||||
|
* libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
|
||||||
|
from multiple calls.
|
||||||
|
|
||||||
Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
|
Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
* i386.md (call value patterns): Move to the end of the file.
|
* i386.md (call value patterns): Move to the end of the file.
|
||||||
|
|
|
@ -2867,7 +2867,14 @@ __do_global_dtors ()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef EH_FRAME_SECTION
|
#ifdef EH_FRAME_SECTION
|
||||||
__deregister_frame_info (__EH_FRAME_BEGIN__);
|
{
|
||||||
|
static int completed = 0;
|
||||||
|
if (! completed)
|
||||||
|
{
|
||||||
|
completed = 1;
|
||||||
|
__deregister_frame_info (__EH_FRAME_BEGIN__);
|
||||||
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue