This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: deregister_frame_info w/o register?
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: deregister_frame_info w/o register?
- From: Robert Lipe <robertl at sco dot com>
- Date: Mon, 1 Nov 1999 17:45:54 -0600
- Cc: Jeffrey A Law <law at cygnus dot com>, egcs-bugs at egcs dot cygnus dot com
- References: <19991031164838.J19769@rjlhome.sco.com> <1389.941417408@upchuck> <19991031220115.L19769@rjlhome.sco.com> <u9ogdd3jk7.fsf@yorick.cygnus.com>
> Does this fix the problem?
No, becuase even in COFF there is an INIT_SECTION_ASM_OP so this
HAS_INIT_SECTION gets turned on and this code won't go away.
This is definitely the right _code_ to make go away, though.
RJL
>
> Index: libgcc2.c
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/libgcc2.c,v
> retrieving revision 1.75
> diff -c -p -r1.75 libgcc2.c
> *** libgcc2.c 1999/10/14 13:38:01 1.75
> --- libgcc2.c 1999/11/01 22:58:46
> *************** __do_global_dtors ()
> *** 2866,2872 ****
> (*(p-1)) ();
> }
> #endif
> ! #ifdef EH_FRAME_SECTION
> {
> static int completed = 0;
> if (! completed)
> --- 2866,2872 ----
> (*(p-1)) ();
> }
> #endif
> ! #if defined (EH_FRAME_SECTION) && !defined (HAS_INIT_SECTION)
> {
> static int completed = 0;
> if (! completed)