unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename from_Unwind_Find_Enclosing_Function.

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.

From-SVN: r59568
This commit is contained in:
Andrew Haley 2002-11-27 10:33:56 +00:00 committed by Andrew Haley
parent a916a6c019
commit 5154b05d15
6 changed files with 21 additions and 4 deletions

View File

@ -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

View File

@ -1643,7 +1643,7 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context)
}
void *
_Unwind_Find_Enclosing_Function (void *pc)
_Unwind_FindEnclosingFunction (void *pc)
{
return NULL;
}

View File

@ -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
}

View File

@ -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);

View File

@ -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;
}

View File

@ -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