OSDN Git Service

* gcc.c (set_collect_gcc_options): New function, split out from
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Aug 2001 12:26:00 +0000 (12:26 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Aug 2001 12:26:00 +0000 (12:26 +0000)
commit19dcb05b64dac1b3f6b41b66fbf6335bfcaa4926
tree9d31c155fc6533acc82d406f6aeb96eb7ad549f9
parenteaf45f93c4ee922dbe317b8b9d7e180641fc86a8
* gcc.c (set_collect_gcc_options): New function, split out from
main.
Ignore elided switches.
(do_spec_1): Invoke before executing command.
(set_input): Export.
Move declaration ...
* gcc.h (set_input): ... here.
* config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
file.

java:
* jvspec.c (jvgenmain_spec): Cannot use %umain, breaks
ASM_FINAL_SPEC.
(lang_specific_pre_link): Use set_input to set input_filename.
Append `main' here.
* jvgenmain.c (usage): Append literal `main' to CLASSNAME.
(main): Fix definition.
Strip `main' from classname.
Fixes PR java/227.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44572 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/alpha/osf.h
gcc/gcc.c
gcc/gcc.h
gcc/java/ChangeLog
gcc/java/jvgenmain.c
gcc/java/jvspec.c