summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-16 03:08:28 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-16 03:08:28 +0000
commit934382cc686bfe5d8fbd59a221e97db213ddd33b (patch)
tree97277bd113611965835cde2f4463c5221e02458b
parent82d35096e309f8ab0be1e0a097da241e8cdeb7b2 (diff)
downloadgcc-934382cc686bfe5d8fbd59a221e97db213ddd33b.tar.gz
* unwind-sjlj.c (_Unwind_GetDataRelBase): New.
(_Unwind_GetTextRelBase): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42129 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/unwind-sjlj.c13
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e1b1c6ab3d8..b624dbfcb2b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-15 Richard Henderson <rth@redhat.com>
+
+ * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
+ (_Unwind_GetTextRelBase): New.
+
2001-05-15 Mark Mitchell <mark@codesourcery.com>
* config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
diff --git a/gcc/unwind-sjlj.c b/gcc/unwind-sjlj.c
index 662968bd001..a6360a1720e 100644
--- a/gcc/unwind-sjlj.c
+++ b/gcc/unwind-sjlj.c
@@ -202,6 +202,19 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context)
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)