From d6b68fccba3828011c63478f4f1a758145a94b19 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 28 Apr 2008 20:13:59 +0000 Subject: [PATCH] cygming-crtend.c (register_frame_ctor): Revert my last commit. * config/i386/cygming-crtend.c (register_frame_ctor): Revert my last commit. From-SVN: r134761 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/cygming-crtend.c | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 83383da24c0..2c575fd08e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-04-28 Danny Smith + + * config/i386/cygming-crtend.c (register_frame_ctor): Revert my + 2008-04-25 commit. + 2008-04-28 Uros Bizjak PR target/36073 diff --git a/gcc/config/i386/cygming-crtend.c b/gcc/config/i386/cygming-crtend.c index ed2d5dba6c2..59fc9109c7e 100644 --- a/gcc/config/i386/cygming-crtend.c +++ b/gcc/config/i386/cygming-crtend.c @@ -74,6 +74,13 @@ static void 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 (); } -- 2.30.2