re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu> PR java/41991 * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction() as _darwin10_Unwind_FindEnclosingFunction(). * libgcc-libsystem.ver: New. From-SVN: r156444
This commit is contained in:
parent
e2d7bb117c
commit
fc15bd0319
3 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
|
||||
|
||||
PR java/41991
|
||||
* unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
|
||||
as _darwin10_Unwind_FindEnclosingFunction().
|
||||
* libgcc-libsystem.ver: New.
|
||||
|
||||
2010-02-01 Vladimir Makarov <vmakarov@redhat.com>
|
||||
|
||||
PR target/41399
|
||||
|
|
1
gcc/libgcc-libsystem.ver
Normal file
1
gcc/libgcc-libsystem.ver
Normal file
|
@ -0,0 +1 @@
|
|||
_darwin10_Unwind_FindEnclosingFunction
|
|
@ -273,3 +273,15 @@ _Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
|
|||
the_obj_info);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void *
|
||||
_darwin10_Unwind_FindEnclosingFunction (void *pc)
|
||||
{
|
||||
struct dwarf_eh_bases bases;
|
||||
const struct dwarf_fde *fde = _Unwind_Find_FDE (pc-1, &bases);
|
||||
if (fde)
|
||||
return bases.func;
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue