This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: deregister_frame_info w/o register?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]