8sa1-gcc/gcc/java
Jason Thorpe f3226a9001 gcc.c (The Specs Language): Document spec functions.
* gcc.c (The Specs Language): Document spec functions.
(static_spec_functions, lookup_spec_function)
(eval_spec_function, handle_spec_function)
(if_exists_spec_function, alloc_args): New.
(execute): Abort if processing_spec_function is true.
(do_spec_1): Hand off spec to handle_spec_function if %:
is encountered.  If processing_spec_function is true,
end any pending argument when the end of the string is reached.
(main): Use alloc_args to allocate the initial argument vector.
* gcc.h (struct spec_function): New.
(lang_specific_spec_functions): New extern.

* config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
(ENDFILE_SPEC): Add if-exists(crtn%O%s).
* config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.

* doc/invoke.texi: Document spec functions.

* cppspec.c (lang_specific_spec_functions): New.
* gccspec.c: Likewise.

* g++spec.c (lang_specific_spec_functions): New.

* g77spec.c (lang_specific_spec_functions): New.

* jvspec.c (lang_specific_spec_functions): New.

From-SVN: r59241
2002-11-19 04:37:50 +00:00
..
.cvsignore
boehm.c
buffer.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
buffer.h
builtins.c builtins.def: Make the argument types of abort and exit independent of the front-end. 2002-07-11 01:20:23 +00:00
ChangeLog gcc.c (The Specs Language): Document spec functions. 2002-11-19 04:37:50 +00:00
chartables.h
check-init.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
class.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
config-lang.in
constants.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
convert.h
decl.c re PR java/7912 (invalid verification error for arrays) 2002-11-18 18:13:36 +00:00
except.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
expr.c re PR java/7912 (invalid verification error for arrays) 2002-11-18 18:13:36 +00:00
gcj.texi gcj.texi (Invoking gij): Document --showversion. 2002-10-25 03:27:02 +00:00
gen-table.pl
gjavah.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
java-except.h
java-opcodes.h
java-tree.def
java-tree.h re PR java/7912 (invalid verification error for arrays) 2002-11-18 18:13:36 +00:00
javaop.def
javaop.h
jcf-depend.c
jcf-dump.c system.h (GCCBUGURL): Delete. 2002-10-08 17:27:39 +00:00
jcf-io.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
jcf-parse.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
jcf-path.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
jcf-reader.c
jcf-write.c real.c, real.h: Rewrite from scratch. 2002-09-16 09:36:39 -07:00
jcf.h
jv-scan.c system.h (GCCBUGURL): Delete. 2002-10-08 17:27:39 +00:00
jvgenmain.c
jvspec.c gcc.c (The Specs Language): Document spec functions. 2002-11-19 04:37:50 +00:00
keyword.gperf
keyword.h
lang-options.h
lang-specs.h
lang.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
lex.c re PR java/7912 (invalid verification error for arrays) 2002-11-18 18:13:36 +00:00
lex.h re PR java/6388 (Integer.MIN_VALUE == 0x80000000 optimized to false on powerpc) 2002-11-06 00:01:01 +00:00
Make-lang.in re PR libgcj/7633 ($(prefix)/share used rather than $(datadir)) 2002-08-22 00:52:20 +00:00
mangle_name.c Index: ChangeLog 2002-08-05 18:46:37 +00:00
mangle.c ChangeLog: Follow spelling conventions. 2002-09-21 02:19:44 +00:00
parse-scan.y Add -fno-assert flag. 2002-09-30 14:57:43 +00:00
parse.h Index: ChangeLog 2002-08-04 22:45:31 +00:00
parse.y re PR java/7912 (invalid verification error for arrays) 2002-11-18 18:13:36 +00:00
typeck.c Index: ChangeLog 2002-08-04 22:45:31 +00:00
verify.c buffer.c: Remove unnecessary casts. 2002-11-18 15:46:34 +00:00
xref.c Index: ChangeLog 2002-08-05 18:46:37 +00:00
xref.h
zextract.c
zipfile.h