* 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
+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
}
void *
-_Unwind_Find_Enclosing_Function (void *pc)
+_Unwind_FindEnclosingFunction (void *pc)
{
return NULL;
}
_Unwind_Resume
_Unwind_SetGR
_Unwind_SetIP
- _Unwind_Find_Enclosing_Function
__deregister_frame
__deregister_frame_info
__deregister_frame_info_bases
_Unwind_SjLj_ForcedUnwind
_Unwind_SjLj_Resume
}
+
+GCC_3.3 {
+ _Unwind_FindEnclosingFunction
+}
}
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);
}
void *
-_Unwind_Find_Enclosing_Function (void *pc)
+_Unwind_FindEnclosingFunction (void *pc)
{
return NULL;
}
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