1. 01 Jan, 2017 1 commit
  2. 04 Jan, 2016 1 commit
  3. 05 Jan, 2015 1 commit
  4. 18 Sep, 2014 1 commit
    • Add header guard to several header files. · f1717f8d
      2014-09-19  Kito Cheng  <kito@0xlab.org>
      
      	* except.h: Fix header guard.
      	* addresses.h: Add missing header guard.
      	* cfghooks.h: Likewise.
      	* collect-utils.h: Likewise.
      	* collect2-aix.h: Likewise.
      	* conditions.h: Likewise.
      	* cselib.h: Likewise.
      	* dwarf2asm.h: Likewise.
      	* graphds.h: Likewise.
      	* graphite-scop-detection.h: Likewise.
      	* gsyms.h: Likewise.
      	* hw-doloop.h: Likewise.
      	* incpath.h: Likewise.
      	* ipa-inline.h: Likewise.
      	* ipa-ref.h: Likewise.
      	* ira-int.h: Likewise.
      	* ira.h: Likewise.
      	* lra-int.h: Likewise.
      	* lra.h: Likewise.
      	* lto-section-names.h: Likewise.
      	* read-md.h: Likewise.
      	* reload.h: Likewise.
      	* rtl-error.h: Likewise.
      	* sdbout.h: Likewise.
      	* targhooks.h: Likewise.
      	* tree-affine.h: Likewise.
      	* xcoff.h: Likewise.
      	* xcoffout.h: Likewise.
      
      From-SVN: r215365
      Kito Cheng committed
  5. 26 Jun, 2014 3 commits
    • Part 2 of the collect-utils library, now also used for collect2. · 5f0ad6a5
              * Makefile.in (COLLECT2_OBJS): Add collect-utils.o.
              (LTO_WRAPPER_OBJS): New variable.
              (lto-wrapper$(exeext)): Use it.
              * collect2.c: Include "collect-utils.h".
              (verbose, debug): Remove variables.
              (at_file_supplied): No longer static.
              (tool_name): New variable.
              (do_wait, fork_execute, maybe_unlink): Don't declare.
              (tool_cleanup): No longer static.
              (notice): Remove function.
              (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 (verbose, 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.
      
      From-SVN: r212020
      Bernd Schmidt committed
    • Small cleanups before making collect2 use collect-utils. · 608508a6
      	* collect-utils.c (save_temps): New variable.
      	(do_wait): Use it instead of debug.  Use fatal_error.
      	* collect-utils.h (save_temps): Declare.
      	* collect2.c (verbose): Rename from vflag.  All uses changed.
      	(tool_cleanup): New function, copied from collect_atexit.
      	(collect_atexit, handler): Just call it.
      	* collect2.h (verbose): Declaration renamed from vflag.
      	* lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of
      	debug.
      
      From-SVN: r212019
      Bernd Schmidt committed
    • Make a collect-utils library for use by tools like collect2 and lto-wrapper. · a185856a
      	* 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.
      
      From-SVN: r212018
      Bernd Schmidt committed