summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-27 10:33:56 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-27 10:33:56 +0000
commit41acc81bf834423f73bf99ecf5232c1b76d88dd6 (patch)
tree34f512ad54f7839e2ebb92fb1e051fff27f5dbd6
parent094e88fc8ec721de1b5d7326ace7d95a28715724 (diff)
downloadppe42-gcc-41acc81bf834423f73bf99ecf5232c1b76d88dd6.tar.gz
ppe42-gcc-41acc81bf834423f73bf99ecf5232c1b76d88dd6.zip
2002-11-26 Andrew Haley <aph@redhat.com>
* unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename from_Unwind_Find_Enclosing_Function. * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise. * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise. * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from _Unwind_Find_Enclosing_Function, export @@GCC_3.3. * unwind.h (_Unwind_FindEnclosingFunction): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59568 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/config/ia64/unwind-ia64.c2
-rw-r--r--gcc/libgcc-std.ver5
-rw-r--r--gcc/unwind-dw2.c2
-rw-r--r--gcc/unwind-sjlj.c2
-rw-r--r--gcc/unwind.h4
6 files changed, 21 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5764f8949a3..f140ceaf629 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+2002-11-26 Andrew Haley <aph@redhat.com>
+
+ * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
+ from_Unwind_Find_Enclosing_Function.
+ * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
+ * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
+ * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
+ _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
+ * unwind.h (_Unwind_FindEnclosingFunction): Add.
+
2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
* config/s390/s390.c (390_output_constant_pool): Set alignment
diff --git a/gcc/config/ia64/unwind-ia64.c b/gcc/config/ia64/unwind-ia64.c
index eba9df0b66d..b3ba9333bcc 100644
--- a/gcc/config/ia64/unwind-ia64.c
+++ b/gcc/config/ia64/unwind-ia64.c
@@ -1643,7 +1643,7 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context)
}
void *
-_Unwind_Find_Enclosing_Function (void *pc)
+_Unwind_FindEnclosingFunction (void *pc)
{
return NULL;
}
diff --git a/gcc/libgcc-std.ver b/gcc/libgcc-std.ver
index d448567f822..45080fa1a52 100644
--- a/gcc/libgcc-std.ver
+++ b/gcc/libgcc-std.ver
@@ -158,7 +158,6 @@ GCC_3.0 {
_Unwind_Resume
_Unwind_SetGR
_Unwind_SetIP
- _Unwind_Find_Enclosing_Function
__deregister_frame
__deregister_frame_info
__deregister_frame_info_bases
@@ -176,3 +175,7 @@ GCC_3.0 {
_Unwind_SjLj_ForcedUnwind
_Unwind_SjLj_Resume
}
+
+GCC_3.3 {
+ _Unwind_FindEnclosingFunction
+}
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index 41db09248a7..3c5feea4e03 100644
--- a/gcc/unwind-dw2.c
+++ b/gcc/unwind-dw2.c
@@ -203,7 +203,7 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context)
}
void *
-_Unwind_Find_Enclosing_Function (void *pc)
+_Unwind_FindEnclosingFunction (void *pc)
{
struct dwarf_eh_bases bases;
struct dwarf_fde *fde = _Unwind_Find_FDE (pc-1, &bases);
diff --git a/gcc/unwind-sjlj.c b/gcc/unwind-sjlj.c
index 59b54154ea3..e1063b4a9c1 100644
--- a/gcc/unwind-sjlj.c
+++ b/gcc/unwind-sjlj.c
@@ -209,7 +209,7 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context __attribute__((unused))
}
void *
-_Unwind_Find_Enclosing_Function (void *pc)
+_Unwind_FindEnclosingFunction (void *pc)
{
return NULL;
}
diff --git a/gcc/unwind.h b/gcc/unwind.h
index 3002d504174..218181c218c 100644
--- a/gcc/unwind.h
+++ b/gcc/unwind.h
@@ -192,6 +192,10 @@ extern _Unwind_Ptr _Unwind_GetDataRelBase (struct _Unwind_Context *);
extern _Unwind_Ptr _Unwind_GetTextRelBase (struct _Unwind_Context *);
#endif
+/* @@@ Given an address, return the entry point of the function that
+ contains it. */
+extern void * _Unwind_FindEnclosingFunction (void *pc);
+
#ifdef __cplusplus
}
#endif
OpenPOWER on IntegriCloud