summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
authorfitzsim <fitzsim@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-02 02:26:51 +0000
committerfitzsim <fitzsim@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-02 02:26:51 +0000
commited98dfd0c65ad26ca76e0fa641a0002265f20bc1 (patch)
treede273602667841b3a2037c6f72fd0b12649073a4 /libjava/include
parent2fce8e25a22978c057944764adcbb69da98ae010 (diff)
downloadppe42-gcc-ed98dfd0c65ad26ca76e0fa641a0002265f20bc1.tar.gz
ppe42-gcc-ed98dfd0c65ad26ca76e0fa641a0002265f20bc1.zip
2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* gcj.texi (Invoking gij): Add descriptions of new -X options. Mention recognized-and-ignored compatibility options. (Memory allocation): Add descriptions of JvMalloc, JvRealloc and JvFree. (About CNI): Add Memory allocation section. 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/20090, PR libgcj/20526 * gij.cc (nonstandard_opts_help): New function. (add_option): New function. (main): Support java options. Set java.class.path. Don't set _Jv_Jar_Class_Path. * prims.cc (parse_x_arg): New function. (parse_init_args): Call parse_x_arg for -X and _ options, when ignoreUnrecognized is true. (new _Jv_RunMain): New vm_args variant. (old _Jv_RunMain): Call new vm_args _Jv_RunMain. (_Jv_Jar_Class_Path): Remove variable. * include/java-props.h: Likewise. * include/cni.h (JvRealloc): New function. * include/jvm.h (_Jv_RunMain): Declare vm_args variant. * java/lang/natRuntime.cc (insertSystemProperties): Remove _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION macros. * configure.ac (JV_VERSION): Define. (JV_API_VERSION): Likewise. * configure: Regenerate. * include/config.h.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97429 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/config.h.in6
-rw-r--r--libjava/include/java-props.h3
-rw-r--r--libjava/include/jvm.h3
3 files changed, 9 insertions, 3 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in
index 8722869e280..04f8be0b7ff 100644
--- a/libjava/include/config.h.in
+++ b/libjava/include/config.h.in
@@ -364,6 +364,9 @@
/* Define if you want a bytecode interpreter. */
#undef INTERPRETER
+/* API compatibility version string */
+#undef JV_API_VERSION
+
/* Define if hash synchronization is in use */
#undef JV_HASH_SYNCHRONIZATION
@@ -373,6 +376,9 @@
/* Indicate that linker is not able to 8-byte align static data */
#undef JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS
+/* Compatibility version string */
+#undef JV_VERSION
+
/* Define if we want to use debug calls into the garbage collector. */
#undef LIBGCJ_GC_DEBUG
diff --git a/libjava/include/java-props.h b/libjava/include/java-props.h
index 19d7106f8f2..43020006e2a 100644
--- a/libjava/include/java-props.h
+++ b/libjava/include/java-props.h
@@ -23,9 +23,6 @@ typedef struct
extern const char **_Jv_Compiler_Properties;
extern int _Jv_Properties_Count;
-// The JAR file to add to the beginning of java.class.path.
-extern const char *_Jv_Jar_Class_Path;
-
// Properties taken from the user's environment.
extern property_pair *_Jv_Environment_Properties;
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index 7a5a4eaa28e..a95b7124aa8 100644
--- a/libjava/include/jvm.h
+++ b/libjava/include/jvm.h
@@ -360,6 +360,9 @@ extern "C" void JvRunMain (jclass klass, int argc, const char **argv);
void _Jv_RunMain (jclass klass, const char *name, int argc, const char **argv,
bool is_jar);
+void _Jv_RunMain (struct _Jv_VMInitArgs *vm_args, jclass klass,
+ const char *name, int argc, const char **argv, bool is_jar);
+
// Delayed until after _Jv_AllocBytes is declared.
//
// Note that we allocate this as unscanned memory -- the vtables
OpenPOWER on IntegriCloud