OSDN Git Service

2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Feb 2010 08:19:26 +0000 (08:19 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Feb 2010 08:19:26 +0000 (08:19 +0000)
PR java/41991
* include/posix.h: Redefine _Unwind_FindEnclosingFunction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156446 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/include/posix.h

index 3a9b462..63b40fc 100644 (file)
@@ -1,3 +1,8 @@
+2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+       PR java/41991
+       * include/posix.h: Redefine _Unwind_FindEnclosingFunction.
+
 2010-01-26  Andrew Haley  <aph@redhat.com>
 
        * java/lang/natClass.cc (registerClosure): Make sure closures is
index 5f522a3..61b2a6a 100644 (file)
@@ -56,6 +56,11 @@ details.  */
 #define _Jv_platform_solib_suffix ".so"
 #endif
 
+#if defined(__APPLE__) && defined(__MACH__)
+#undef _Unwind_FindEnclosingFunction
+#define _Unwind_FindEnclosingFunction(PC) _darwin10_Unwind_FindEnclosingFunction(PC)
+#endif
+
 // Some POSIX systems don't have O_SYNC and O_DYSNC so we define them here.
 // Needed in java/io/natFileDescriptorPosix.cc.
 #if !defined (O_SYNC) && defined (O_FSYNC)