]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libgcj/28698 ([gcj] libgcj-bc only used when building shared libs, not executables)
authorTom Tromey <tromey@redhat.com>
Thu, 31 Aug 2006 17:23:57 +0000 (17:23 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 31 Aug 2006 17:23:57 +0000 (17:23 +0000)
PR libgcj/28698:
* libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
classes.

From-SVN: r116603

libjava/ChangeLog
libjava/libgcj_bc.c

index 0a694de4a1521fe0813e2a78e34b14271798fd09..45507903fde008eb4b690735ac2113f3169ba7ec 100644 (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.
index 66a14682f8cfb2f59422a0e883c101adf4d463e2..d48ce7d3049a21977f3ecd16e593732cdeea129f 100644 (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)