Commit fc15bd03 by Jack Howarth Committed by Andreas Tobler

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
parent e2d7bb11
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
......
_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;
}
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