gcc/gcc/java
Kaveh R. Ghazi 9257393c20 Makefile.in (gcc.o, [...]): Depend on gcc.h.
* Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.

	* gcc.h: New file.
	(lang_specific_driver): Don't take a function pointer parameter.
	All callers changed.

	* gcc.c: Include gcc.h.
	(do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
	lang_specific_extra_outfiles, fatal): Don't declare.
	(multilib_defaults_raw): Constify.
	(read_specs): Call memset, rather than bzero.
	(main): Call return, not exit.
	(lookup_compiler): Call memcpy, not bcopy.
	(fatal): Make extern.

	* cppspec.c: Include gcc.h.
	(lang_specific_driver): Initialize variable `quote'.  Constify a
	char*.  All calls to the function pointer parameter now
	explicitly call `fatal'.

	* gccspec.c (lang_specific_driver): Include gcc.h.

cp:

	* Make-lang.in (g++spec.o): Depend on system.h and gcc.h.

	* g++spec.c: Include gcc.h.
	(lang_specific_driver): Constify a char*.  Call xcalloc, not
 	xmalloc/bzero.  All calls to the function pointer parameter now
 	explicitly call `fatal'.

f:

	* Make-lang.in (g77spec.o): Depend on system.h and gcc.h.

	* g77spec.c: Include gcc.h.
	(g77_xargv): Constify.
	(g77_fn): Add parameter prototypes.
	(lookup_option, append_arg): Add static prototypes.
	(g77_newargv): Constify.
	(lookup_option, append_arg, lang_specific_driver): Constify a char*.
	(lang_specific_driver): All calls to the function pointer
 	parameter now explicitly call `fatal'.

java:

	* Make-lang.in (jvspec.o): Depend on system.h and gcc.h.

	* jvspec.c: Include gcc.h.  Don't include gansidecl.h.
	(do_spec, lang_specific_pre_link, lang_specific_driver,
	input_filename, input_filename_length): Don't declare.
	(main_class_name, jvgenmain_spec, lang_specific_driver):
	Constify a char*.
	(lang_specific_driver): All calls to the function pointer
	parameter now explicitly call `fatal'.

From-SVN: r29367
1999-09-13 03:57:40 +00:00
..
ChangeLog Makefile.in (gcc.o, [...]): Depend on gcc.h. 1999-09-13 03:57:40 +00:00
Make-lang.in Makefile.in (gcc.o, [...]): Depend on gcc.h. 1999-09-13 03:57:40 +00:00
Makefile.in Hapless User Hint for gperf 1999-09-08 14:08:26 +00:00
buffer.c Makefile.in: Add many missing dependencies. 1998-09-14 03:42:24 -06:00
buffer.h 1998-10-12 05:43:53 -07:00
check-init.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
class.c class.c (finish_class): We're now outside a valid method declaration. 1999-09-11 15:22:57 -07:00
config-lang.in [multiple changes] 1998-10-22 13:06:56 +00:00
constants.c Makefile.in (jcf-dump.o): Depend on $(CONFIG_H) $(srcdir)/../system.h and $(JAVA_TREE_H). 1999-03-21 06:09:25 +00:00
convert.h class.c (is_compiled_class): Call safe_layout_class for class compiled from source. 1998-11-10 10:04:25 -08:00
decl.c Move declarations and building code for common tree nodes to tree.[ch] 1999-09-10 10:36:02 +00:00
except.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
expr.c class.c (finish_class): Remove unused parameter, all callers changed. 1999-09-02 21:57:09 +00:00
gjavah.c gjavah.c (add_class_decl): Generate include for gcj/array.h, not java-array.h. 1999-09-10 21:45:39 +00:00
java-except.h java-except.h (struct eh_range): Removed unused `next' member. 1999-05-18 15:03:26 +00:00
java-opcodes.h Initial revision 1998-09-06 15:36:06 +00:00
java-tree.def Use new TRY_FINALLY_EXPR tree node. 1999-02-19 04:32:50 -08:00
java-tree.h Move declarations and building code for common tree nodes to tree.[ch] 1999-09-10 10:36:02 +00:00
javaop.def Initial revision 1998-09-06 15:36:06 +00:00
javaop.h javaop.h (WORD_TO_FLOAT): only inline if building with gcc. 1999-08-09 21:14:12 +00:00
jcf-depend.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
jcf-dump.c class.c (finish_class): Remove unused parameter, all callers changed. 1999-09-02 21:57:09 +00:00
jcf-io.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
jcf-parse.c class.c (finish_class): Remove unused parameter, all callers changed. 1999-09-02 21:57:09 +00:00
jcf-path.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
jcf-reader.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
jcf-write.c gjavah.c, [...]: Do not use C++ style comments in C code. 1999-08-27 23:33:02 -06:00
jcf.h class.c (finish_class): Remove unused parameter, all callers changed. 1999-09-02 21:57:09 +00:00
jv-scan.c class.c (finish_class): Remove unused parameter, all callers changed. 1999-09-02 21:57:09 +00:00
jvgenmain.c * jvgenmain.c (main): NUL-terminate name_obstack. 1999-08-11 05:03:11 +00:00
jvspec.c Makefile.in (gcc.o, [...]): Depend on gcc.h. 1999-09-13 03:57:40 +00:00
keyword.gperf gjavah.c (print_name, [...]): Add static prototype. 1999-08-25 13:59:28 +00:00
keyword.h gjavah.c (print_name, [...]): Add static prototype. 1999-08-25 13:59:28 +00:00
lang-options.h lang.c (flag_use_divide_subroutine): New variable. 1999-07-21 14:51:24 +00:00
lang-specs.h flags.h: Declare flag_no_ident. 1999-01-31 17:46:52 +00:00
lang.c c-parse.in (language_string): Constify. 1999-08-31 02:16:34 +00:00
lex.c gjavah.c (print_name, [...]): Add static prototype. 1999-08-25 13:59:28 +00:00
lex.h lex.h: Never define HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT or HOST_BITS_PER_CHAR. 1999-05-12 16:52:35 +00:00
mangle.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
parse-scan.c Merge in gcc2-ss-010999 1999-09-06 23:49:18 -06:00
parse-scan.y gjavah.c (print_name, [...]): Add static prototype. 1999-08-25 13:59:28 +00:00
parse.c re GNATS gcj/18 (Internal error: segfault on invalid cast) 1999-09-11 20:20:31 -07:00
parse.h gjavah.c (print_name, [...]): Add static prototype. 1999-08-25 13:59:28 +00:00
parse.y re GNATS gcj/18 (Internal error: segfault on invalid cast) 1999-09-11 20:20:31 -07:00
typeck.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
verify.c class.c (finish_class): Remove unused parameter, all callers changed. 1999-09-02 21:57:09 +00:00
xref.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
xref.h check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
zextract.c check-init.c (check_bool2_init, [...]): Add static prototypes. 1999-08-10 16:58:13 +00:00
zipfile.h Makefile.in (jcf-dump.o): Depend on $(CONFIG_H) $(srcdir)/../system.h and $(JAVA_TREE_H). 1999-03-21 06:09:25 +00:00