r212018 - in /trunk/gcc: ChangeLog Makefile.in ...

bernds@gcc.gnu.org bernds@gcc.gnu.org
Thu Jun 26 09:16:00 GMT 2014


Author: bernds
Date: Thu Jun 26 09:16:11 2014
New Revision: 212018

URL: https://gcc.gnu.org/viewcvs?rev=212018&root=gcc&view=rev
Log:
Make a collect-utils library for use by tools like collect2 and lto-wrapper.

	* Makefile.in (ALL_HOST_BACKEND_OBJS): Add collect-utils.o.
	(lto-wrapper$(exeext)): Link with collect-utils.o.
	* collect-utils.c: New file.
	* collect-utils.h: New file.
	* lto-wrapper.c: Include "collect-utils.h".
	(args_name): Delete variable.
	(tool_name): New variable.
	(tool_cleanup): New function.
	(maybe_unlink): Renamed from maybe_unlink_file.  All callers changed.
	(lto_wrapper_cleanup, fatal_signal, collect_execute, collect_wait,
	fork_execute): Remove functions.

Added:
    trunk/gcc/collect-utils.c
    trunk/gcc/collect-utils.h
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/lto-wrapper.c



More information about the Gcc-cvs mailing list