aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/gcj.texi
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-01-22 20:51:55 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-01-22 20:51:55 +0000
commit3e895978eef47edaf67b59f02d9f847c55ac26dc (patch)
treeb7d7c4804e0025ba42eee223253a8402fbee444d /gcc/java/gcj.texi
parent7e657a61177515aa1836f3f168c7765096f74610 (diff)
downloadgcc-3e895978eef47edaf67b59f02d9f847c55ac26dc.zip
gcc-3e895978eef47edaf67b59f02d9f847c55ac26dc.tar.gz
gcc-3e895978eef47edaf67b59f02d9f847c55ac26dc.tar.bz2
gcj.texi (Input and output files): Mention non-class entries.
* gcj.texi (Input and output files): Mention non-class entries. * decl.c (java_init_decl_processing): Call init_resource_processing. * java-tree.h (compile_resource_data, write_resource_constructor, compile_resource_file, init_resource_processing): Declare. * config-lang.in (gtfiles): Added resource.c. * Make-lang.in (gt-java-resource.h): New target. (JAVA_OBJS): Added resource.o. (java/resource.o): New target. * resource.c: New file. * class.c (compile_resource_file): Moved to resource.c. (registerResource_libfunc): Likewise. (utf8_decl_list): Mark with GTY; now static. * jcf-parse.c (classify_zip_file): New function. (parse_zip_file_entries): Use it; compile .properties files. (process_zip_dir): Use classify_zip_file and compute_class_name. Don't write class name into zip directory. (java_parse_file): Call write_resource_constructor. (compute_class_name): New function. * jcf-io.c (read_zip_member): Reindented. From-SVN: r61614
Diffstat (limited to 'gcc/java/gcj.texi')
-rw-r--r--gcc/java/gcj.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi
index 8a40b77..f9518d7 100644
--- a/gcc/java/gcj.texi
+++ b/gcc/java/gcj.texi
@@ -182,7 +182,10 @@ Java bytecode files.
@item @var{file}.zip
@itemx @var{file}.jar
An archive containing one or more @code{.class} files, all of
-which are compiled. The archive may be compressed.
+which are compiled. The archive may be compressed. Files in
+an archive which don't end with @samp{.class} are treated as
+resource files; they are copmiled into the resulting object file
+as @samp{core:} URLs.
@item @@@var{file}
A file containing a whitespace-separated list of input file names.
(Currently, these must all be @code{.java} source files, but that