re PR libgcj/28698 ([gcj] libgcj-bc only used when building shared libs, not executables)

PR libgcj/28698:
	* libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
	classes.

From-SVN: r116603
This commit is contained in:
Tom Tromey 2006-08-31 17:23:57 +00:00 committed by Tom Tromey
parent a7cfb1af9e
commit d50341e6de
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-08-31 Tom Tromey <tromey@redhat.com>
PR libgcj/28698:
* libgcj_bc.c (DECLARE_PRIM_TYPE): New macro. Declare primitive
classes.
2006-08-24 Keith Seitz <keiths@redhat.com>
* prims.cc (remoteDebug): New global.

View File

@ -92,3 +92,19 @@ void _Jv_CreateJavaVM () {}
void _Jv_AttachCurrentThread () {}
void _Jv_AttachCurrentThreadAsDaemon () {}
void _Jv_DetachCurrentThread () {}
/* Classes for primitive types. */
#define DECLARE_PRIM_TYPE(NAME) \
int _Jv_##NAME##Class;
DECLARE_PRIM_TYPE(byte)
DECLARE_PRIM_TYPE(short)
DECLARE_PRIM_TYPE(int)
DECLARE_PRIM_TYPE(long)
DECLARE_PRIM_TYPE(boolean)
DECLARE_PRIM_TYPE(char)
DECLARE_PRIM_TYPE(float)
DECLARE_PRIM_TYPE(double)
DECLARE_PRIM_TYPE(void)