This is the mail archive of the gcc-patches@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: [patch repost] libgcc __terminate_func ABI issue.


Richard Henderson <rth@redhat.com> writes:
> On Tue, Jan 23, 2001 at 11:50:56AM -0800, Chris G. Demetriou wrote:
> > 	* optabs.c (init_optabs): Initialize terminate_set_func_libfunc.
> 
> This bit is bogus.  The rest is fine.

Oh, drat.  It looks like my patch excluded the change below to expr.h.

Is the optabs.c change unnecesasry in general, or was it bogus just
because of the omission below?  (If that function only inits things
that are called directly by gcc, the former would be the case...)


thanks for looking at the patch.


chris
===================================================================
Index: expr.h
===================================================================
RCS file: /cvsroot/systemsw/tools/src/gcc/gcc/expr.h,v
retrieving revision 1.1.1.3
retrieving revision 1.4
diff -c -r1.1.1.3 -r1.4
*** expr.h	2001/01/04 00:12:02	1.1.1.3
--- expr.h	2001/01/09 08:02:01	1.4
***************
*** 504,509 ****
--- 504,510 ----
    LTI_sjthrow,
    LTI_sjpopnthrow,
    LTI_terminate,
+   LTI_terminate_set_func,
    LTI_setjmp,
    LTI_longjmp,
    LTI_eh_rtime_match,
***************
*** 637,642 ****
--- 638,644 ----
  #define sjthrow_libfunc	(libfunc_table[LTI_sjthrow])
  #define sjpopnthrow_libfunc	(libfunc_table[LTI_sjpopnthrow])
  #define terminate_libfunc	(libfunc_table[LTI_terminate])
+ #define terminate_set_func_libfunc	(libfunc_table[LTI_terminate_set_func])
  #define setjmp_libfunc	(libfunc_table[LTI_setjmp])
  #define longjmp_libfunc	(libfunc_table[LTI_longjmp])
  #define eh_rtime_match_libfunc	(libfunc_table[LTI_eh_rtime_match])

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