PR java/41991
* unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
as _darwin10_Unwind_FindEnclosingFunction().
* libgcc-libsystem.ver: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156444
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
2010-02-01 Vladimir Makarov <vmakarov@redhat.com>
PR target/41399
--- /dev/null
+_darwin10_Unwind_FindEnclosingFunction
the_obj_info);
return ret;
}
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;
+}
+