deregister_frame_info w/o register?

Robert Lipe robertl@sco.com
Mon Nov 1 15:47:00 GMT 1999


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


More information about the Gcc-bugs mailing list