r208725 - in /branches/gomp-4_0-branch/gcc: Cha...
bernds@gcc.gnu.org
bernds@gcc.gnu.org
Thu Mar 20 17:05:00 GMT 2014
Author: bernds
Date: Thu Mar 20 17:05:18 2014
New Revision: 208725
URL: http://gcc.gnu.org/viewcvs?rev=208725&root=gcc&view=rev
Log:
* Makefile.in (COLLECT2_OBJS): Add collect-utils.o.
(LTO_WRAPPER_OBJS): New variable.
(lto-wrapper$(exeext)): Use it.
* collect2.c: Include "collect-utils.h".
(vflag, debug): Remove variables. Rename all uses of vflag to
verbose.
(at_file_supplied): No longer static.
(tool_name): New variable.
(do_wait, fork_execute, maybe_unlink): Don't declare.
(tool_cleanup): Renamed from collect_atexit. New arg from_signal.
(collect_atexit): New static function.
(notice): Remove function.
(handler): Just call tool_cleanup.
(maybe_run_lto_and_relink, main, do_dsymutil): Add new arg to
fork_execute calls.
(collect_wait, do_wait, collect_execute): Remove functions.
(maybe_unlink): No longer static.
* collect2.h (vflag, debug): Don't declare.
(at_file_supplied): Declare.
* collect-utils.c (utils_cleanup): New arg from_signal. All callers
changed.
(collect_execute): Replace with implementation from collect2, plus a
new arg use_atfile. All callers changed.
(collect_wait): Replace with implementation from collect2.
(maybe_unlink_file): Remove function.
(fork_execute): Replace with implementation from collect2, plus a
new arg use_atfile. All callers changed.
(do_wait): Add call to utils_cleanup to the error path.
* collect-utils.h (collect_execute, fork_execute, utils_cleanup,
tool_cleanup): Adjust declarations.
* lto-wrapper.c (tool_cleanup): Add unused bool argument.
* tlink.c: Include "collect-utils.h".
(tlink_execute): New arg use_atfile. All callers changed.
(tlink_init, tlink_execute): Remove declarations.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog
branches/gomp-4_0-branch/gcc/collect-utils.c
branches/gomp-4_0-branch/gcc/collect-utils.h
branches/gomp-4_0-branch/gcc/collect2.c
branches/gomp-4_0-branch/gcc/collect2.h
branches/gomp-4_0-branch/gcc/lto-wrapper.c
branches/gomp-4_0-branch/gcc/tlink.c
More information about the Gcc-cvs
mailing list