Commit 41acc81b authored by aph's avatar aph
Browse files

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
parent 094e88fc
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
......
......@@ -1643,7 +1643,7 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context)
}
void *
_Unwind_Find_Enclosing_Function (void *pc)
_Unwind_FindEnclosingFunction (void *pc)
{
return NULL;
}
......
......@@ -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
}
......@@ -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);
......
......@@ -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;
}
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment