re PR libgcj/38872 (libgcj.so dropped _Jv_CreateJavaVM and _Jv_GetStringChars symbols)

PR libgcj/38872
	* gcj/javaprims.h (_Jv_CreateJavaVM): Change to extern "C" symbol.
	* libjgc_bc.c (_Jv_GetStringChars): Remove.

From-SVN: r143698
This commit is contained in:
Jakub Jelinek 2009-01-27 11:09:23 +01:00 committed by Jakub Jelinek
parent 8cff583a25
commit f22167fdbf
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2009-01-26 Jakub Jelinek <jakub@redhat.com>
PR libgcj/38872
* gcj/javaprims.h (_Jv_CreateJavaVM): Change to extern "C" symbol.
* libjgc_bc.c (_Jv_GetStringChars): Remove.
2009-01-12 Andrew Haley <aph@redhat.com>
* sun/misc/natUnsafe.cc (spinlock contructor): Call sched_yield().

View File

@ -1,8 +1,8 @@
// javaprims.h - Main external header file for libgcj. -*- c++ -*-
/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation
/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008, 2009 Free Software Foundation
This file is part of libgcj.
@ -919,7 +919,7 @@ struct _Jv_VMInitArgs
jboolean ignoreUnrecognized;
};
extern jint _Jv_CreateJavaVM (struct _Jv_VMInitArgs*);
extern "C" jint _Jv_CreateJavaVM (struct _Jv_VMInitArgs*);
void
_Jv_ThreadRun (java::lang::Thread* thread);

View 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.
@ -89,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 () {}