OSDN Git Service

2001-03-22 Alexandre Petit-Bianco <apbianco@redhat.com>
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Mar 2001 19:42:25 +0000 (19:42 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Mar 2001 19:42:25 +0000 (19:42 +0000)
commit99878175bf53f9f188f4d3ad8b6260071e7f73f6
tree8dad1441dc95d1c7079a19a829ac67eae0ce45ee
parent369305ac6a54d2a29402c0ec9b16ff30b44eee80
2001-03-22  Alexandre Petit-Bianco  <apbianco@redhat.com>

* gcj.texi (Input Options): documented the check for attribute
`gnu.gcc.gccj-compiled' and the `-fforce-classes-archive-check' flag.
* java-tree.h (flag_force_classes_archive_check): Declared extern.
* jcf-parse.c (HANDLE_GCJCOMPILED_ATTRIBUTE): New macro.
(jcf_parse): Check for the right classes archive if necessary.
* jcf-reader.c (get_attribute): Define `MATCH_ATTRIBUTE' and use it.
(jcf_parse_fields): Fixed indentation.
* jcf-write.c (append_gcj_attribute): New function.
(generate_classfile): Compute the attribute count, invoke
`append_gcj_attribute'.
* jcf.h (typedef struct JCF): `seen_in_zip' and `java_source'
turned into bit fields. New bit field `right_zip.'
(JCF_ZERO): Set `right_zip' to zero.
* lang-options.h (-fforce-classes-archive-check): Added flag.
* lang.c (flag_force_classes_archive_check): New flag.
(lang_f_options): New entry `force-classes-archive-check.'
Fixes PR java/1213.

(http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01662.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40788 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/gcj.texi
gcc/java/java-tree.h
gcc/java/jcf-parse.c
gcc/java/jcf-reader.c
gcc/java/jcf-write.c
gcc/java/jcf.h
gcc/java/lang-options.h
gcc/java/lang.c