OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / libjava / libgcj_bc.c
index 9d5c8c2..67f00ae 100644 (file)
@@ -1,6 +1,6 @@
 /* libgcj_bc.c  */
 
-/* Copyright (C) 2006 Free Software Foundation
+/* Copyright (C) 2006, 2009 Free Software Foundation
 
    This file is part of libgcj.
 
@@ -32,11 +32,14 @@ void _Jv_CheckArrayStore () {}
 void _Jv_CheckCast () {}
 void _Jv_InitClass () {}
 void _Jv_IsInstanceOf () {}
+void _Jv_LookupInterfaceMethod () {}
 void _Jv_LookupInterfaceMethodIdx () {}
 void _Jv_MonitorEnter () {}
+void _Jv_MonitorExit () {}
 void _Jv_NewMultiArray () {}
 void _Jv_NewObjectArray () {}
 void _Jv_NewPrimArray () {}
+void _Jv_RegisterResource () {}
 void _Jv_ResolvePoolEntry () {}
 void _Jv_Throw () {}
 void _Jv_ThrowAbstractMethodError () {}
@@ -66,6 +69,7 @@ const char **_Jv_Compiler_Properties;
 void _Jv_GetJNIEnvNewFrame () {}
 void _Jv_LookupJNIMethod () {}
 void _Jv_UnwrapJNIweakReference () {}
+void _Jv_JNI_PopSystemFrame () {}
 
 
 /* Checked divide (-fuse-divide-subroutine).  */
@@ -85,7 +89,6 @@ void _Jv_AttachCurrentThreadAsDaemon () {}
 void _Jv_CreateJavaVM () {}
 void _Jv_DetachCurrentThread () {}
 void _Jv_Free () {}
-void _Jv_GetStringChars () {}
 void _Jv_GetStringUTFLength () {}
 void _Jv_GetStringUTFRegion () {}
 void _Jv_Malloc () {}
@@ -109,3 +112,14 @@ DECLARE_PRIM_TYPE(char)
 DECLARE_PRIM_TYPE(float)
 DECLARE_PRIM_TYPE(double)
 DECLARE_PRIM_TYPE(void)
+
+
+/* Force executable to export __data_start et al.  */
+
+#pragma weak __data_start
+extern int __data_start[];
+#pragma weak data_start
+extern int data_start[];
+#pragma weak _end
+extern int _end[];
+static void *dummy[] __attribute__((used)) = {__data_start, data_start, _end};