* config/i386/cygming-crtend.c (register_frame_ctor): Revert my
last commit.
From-SVN: r134761
+2008-04-28 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/i386/cygming-crtend.c (register_frame_ctor): Revert my
+ 2008-04-25 commit.
+
2008-04-28 Uros Bizjak <ubizjak@gmail.com>
PR target/36073
register_frame_ctor (void)
{
__gcc_register_frame ();
- atexit (__gcc_deregister_frame);
+}
+
+static void deregister_frame_ctor (void) __attribute__ ((destructor (0)));
+
+static void
+deregister_frame_ctor (void)
+{
+ __gcc_deregister_frame ();
}