diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-15 17:16:05 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-15 17:16:05 +0000 |
commit | c2569fbcc4c5b96a26c30a7baab1242cf046712a (patch) | |
tree | b80bcaf5cd08aa5d5d629cc2e142851d2f5a4a80 /gcc/java | |
parent | 30b69a4902ac3738219b2d33393463a356b42b28 (diff) | |
download | gcc-c2569fbcc4c5b96a26c30a7baab1242cf046712a.tar.gz |
8
* jvgenmain.c: Need to #include "gansidecl.h" (to get PROTO).
* jcf-write.c (perform_relocations): Move check out one loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23664 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/jcf-write.c | 4 | ||||
-rw-r--r-- | gcc/java/jvgenmain.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c index 64c9e06475f..c4d5ca16add 100644 --- a/gcc/java/jcf-write.c +++ b/gcc/java/jcf-write.c @@ -2258,9 +2258,9 @@ perform_relocations (state) *--new_ptr = 0; *--new_ptr = - reloc->kind; } - if (new_ptr != chunk->data) - fatal ("internal error - perform_relocations"); } + if (new_ptr != chunk->data) + fatal ("internal error - perform_relocations"); } state->code_length = pc; } diff --git a/gcc/java/jvgenmain.c b/gcc/java/jvgenmain.c index 43b8d7b8d6b..abf1777828a 100644 --- a/gcc/java/jvgenmain.c +++ b/gcc/java/jvgenmain.c @@ -27,6 +27,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "obstack.h" +#include "gansidecl.h" const char main_method_prefix[] = "main__"; const char main_method_suffix[] = "Pt6JArray1ZPQ34java4lang6String"; |