This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: SJLJ exceptions are broken
- To: Mark Mitchell <mark at codesourcery dot com>, gcc-bugs at gcc dot gnu dot org
- Subject: Re: SJLJ exceptions are broken
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 15 May 2001 20:11:51 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010515170736G.mitchell@codesourcery.com> <20010515191008.A25023@redhat.com> <20010515191413M.mitchell@codesourcery.com> <20010515191815.D25023@redhat.com>
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)