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: SJLJ exceptions are broken


On Tue, May 15, 2001 at 07:18:15PM -0700, Richard Henderson wrote:
> I'm trying to think if we'd ever in the future need
> these calls here...

I think we won't ever _need_ them.  However, on reflection I'd
prefer to keep the call-frame and sjlj abi's as close as possible.
So I've added the stub functions.

> In either case, I'll send mail when I've checked in the fix.

Done.


r~


        * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
        (_Unwind_GetTextRelBase): New.

Index: unwind-sjlj.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/unwind-sjlj.c,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 unwind-sjlj.c
--- unwind-sjlj.c	2001/05/13 07:10:02	1.1.2.1
+++ unwind-sjlj.c	2001/05/16 02:53:54
@@ -202,6 +202,19 @@ _Unwind_GetRegionStart (struct _Unwind_C
   return 0;
 }
 
+#ifndef __ia64__
+_Unwind_Ptr
+_Unwind_GetDataRelBase (struct _Unwind_Context *context)
+{
+  return 0;
+}
+
+_Unwind_Ptr
+_Unwind_GetTextRelBase (struct _Unwind_Context *context)
+{
+  return 0;
+}
+#endif
 
 static inline _Unwind_Reason_Code
 uw_frame_state_for (struct _Unwind_Context *context, _Unwind_FrameState *fs)


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