1. 03 Oct, 2009 1 commit
  2. 26 Jul, 2007 1 commit
  3. 25 Jun, 2005 1 commit
  4. 31 Mar, 2005 1 commit
    • collect2.c (lderrout): New variable. · 68ec3111
      	* collect2.c (lderrout): New variable.
      	(collect_exit): Dump ldout to stdout.  Dump and unlink lderrout,
      	if it is set, to stderr.
      	(handler): Unlink lderrout if it is set.
      	(dump_file): Add "to" parameter.  Change all callers.
      	(main): Initialize lderrout.
      	(collect_execute): Add errname parameter.  Change all callers.
      	Rename redir parameter to outname.  Never pass
      	PEX_STDERR_TO_STDOUT to pex_run.
      	* collect2.h (collect_execute, dump_file): Update declarations.
      	* tlink.c (tlink_execute): Add errname parameter.  Change all
      	callers.
      	(do_tlink): Check lderrout as well as ldout.
      
      From-SVN: r97321
      Ian Lance Taylor committed
  5. 29 Mar, 2005 1 commit
    • re PR bootstrap/14316 (collect2 doesnt build on windows hosts) · 1fff69c9
      	PR bootstrap/14316
      	* collect2.c: Never include <vfork.h>.
      	(VFORK_STRING, vfork): Don't define.
      	(pid): Remove global variable.
      	(handler): Call raise instead of kill (getpid(), ...).
      	(collect_wait): Add pex parameter.  Change all callers.  Use
      	pex_get_status rather than pwait.
      	(do_wait): Add pex parameter.  Change all callers.
      	(collect_execute): Return struct pex_obj * rather than void.  Use
      	pex routines rather than pexecute.
      	(fork_execute): Get pex_obj from collect_execute, and pass it to
      	do_wait.
      	(scan_prog_file): Use pex routines rather than pipe/vfork/exec.
      	Only declare quit_handler if SIGQUIT is defined.
      	(scan_libraries): Likewise.
      	* collect2.h (collect_execute): Update declaration.
      	(collect_wait): Update declaration.
      	* tlink.c (tlink_execute): Get pex_obj from collect_execute, and
      	pass it to collect_wait.
      
      From-SVN: r97199
      Ian Lance Taylor committed
  6. 15 Oct, 2004 1 commit
    • bitmap.c, [...]: Update copyright. · f30278e8
      	* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
      	collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
      	gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
      	genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
      	gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
      	gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
      	lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
      	predict.def, predict.h, protoize.c, reload.h, resource.h,
      	rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
      	tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
      	unwind-sjlj.c, value-prof.h: Update copyright.
      
      From-SVN: r89097
      Kazu Hirata committed
  7. 23 Aug, 2004 1 commit
    • Makefile.in (BUILD_ERRORS): Set to build-errors. · b3d1f5b4
      	* Makefile.in (BUILD_ERRORS): Set to build-errors.
      	(errors.o): New target for host.
      	(build-errors.o): New target for build.
      	(genobjs): Replace errors.o with build-errors.
      	(gengenrtl$(buildexeext)): Add $(BUILD_ERRORS).
      	(GCOV_OBJS, GCOV_DUMP_OBJS): Add errors.o.
      	(fix-headers$(build_exeext)): Add $(BUILD_ERRORS).
      	(fix-header.o): Add errors.h
      	* collect2.c (fancy_abort): Add parameters.
      	* collect2.h (fancy_abort): Don't declare.
      	* errors.h (fancy_abort): Don't declare.
      	* errors.c: Include either bconfig.h or config.h.
      	(fancy_abort): Trim filename.
      	* fix-header.c (v_fatal, fatal): Remove.
      	(progname): Remove definition.
      	(main): Set progname here.
      	* gcc.c (fancy_abort): Add parameters.
      	* gcc.h (fancy_abort): Remove declaration.
      	* gcov.c (fancy_abort): Remove.
      	* rtl.h (fancy_abort): Don't declare.
      	(abort): Don't define.
      	* tree.h (fancy_abort): Don't declare.
      	(abort): Don't define.
      	* system.h (fancy_abort): Declare.
      	(abort): Define to fancy_abort.
      	* fixinc/Makefile.in (ALLOBJ): Add ../build-errors.o
      	* java/jv-scan.c (fancy_abort): Add.
      
      From-SVN: r86424
      Nathan Sidwell committed
  8. 29 Jun, 2003 1 commit
  9. 04 Aug, 2002 1 commit
    • Index: ChangeLog · 6d9f628e
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
      	* collect2.h (permanent_obstack): Delete declaration.
      	* collect2.c (permanent_obstack): Delete definition.
      	(main): Don't initialise permanent_obstack.  Use xstrdup instead.
      	* expr.c: Don't include obstack.h.
      	(permanent_obstack): Delete declaration.
      	* function.c: Don't include obstack.h.
      	(permanent_obstack): Delete declaration.
      	* integrate.c: Don't include obstack.h.
      	(function_maybepermanent_obstack): Delete declaration.
      	* print-tree.c (debug_tree): Use x*alloc not permalloc.
      	* sdbout.c (gen_fake_label): Use x*alloc not permalloc.
      	* tlink.c (pfgets): Use xstrdup not permanent_obstack.
      	* toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
      	* tree.h: Rename init_obstacks to init_ttree.  Remove declarations
      	of permalloc, expralloc, perm_calloc.
      	* tree.c (permanent_obstack): Delete definition.
      	(init_ttree): Rename from init_obstacks.
      	(permalloc): Delete.
      	(perm_calloc): Delete.
      	(dump_tree_statistics): Don't print information about
      	permanent_obstack.
      	* varasm.c (assemble_start_function): Use xstrdup instead of
      	permalloc/strcpy.
      	(assemble_variable): Likewise.
      	* config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
      	permalloc.
      	(unicosmk_add_extern): Likewise.
      	* config/c4x/c4x.c (c4x_external_ref): Likewise.
      	(c4x_global_label): Likewise.
      	* config/frv/frv.c (frv_encode_section_info): Likewise.
      	* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
      	(i386_pe_record_exported_symbol): Likewise.
      	* config/mips/mips.c (mips_output_external): Likewise.
      	(mips_output_external_libcall): Likewise.
      	* config/pa/pa.c: (permanent_obstack): Delete declaration.
      	(output_call): Use ggc_strdup instead of allocating on
      	permanent_obstack.
      	* config/romp/romp.c: Include ggc.h.
      	(get_symref): Don't declare permanent_obstack, use ggc_strdup
      	intead of permanent_obstack.
      	* config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
      	instead of permalloc.
      	* config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
      	instead of permalloc
      	* config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
      	instead of permalloc.
      	* config/vax/vax.c (vms_check_external): Use xmalloc instead of
      	permalloc.
      
      Index: cp/ChangeLog
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* cvt.c (ocp_convert): Delete obsolete code.
      	* parse.y (permanent_obstack): Delete declaration.
      	* pt.c (permanent_obstack): Delete declaration.
      	* repo.c (permanent_obstack): Delete declaration.
      	(open_repo_file): Use xmalloc instead of permanent_obstack.
      	(init_repo): Use xstrdup instead of permanent_obstack.
      
      Index: java/ChangeLog
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* class.c: (permanent_obstack): Delete declaration.
      	* constants.c: (permanent_obstack): Delete declaration.
      	* except.c: (permanent_obstack): Delete declaration.
      	* expr.c: (permanent_obstack): Delete declaration.
      	* jcf-parse.c: (permanent_obstack): Delete declaration.
      	(saveable_obstack): Delete declaration.
      	* parse.h: (permanent_obstack): Delete declaration.
      	* typeck.c: (permanent_obstack): Delete declaration.
      
      From-SVN: r56035
      Geoffrey Keating committed
  10. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      Lars Brinkhoff committed
  11. 26 May, 2001 1 commit
  12. 03 Sep, 1999 1 commit
    • Makefile.in (tlink.o): Don't depend on toplev.h. · d4058195
      	* Makefile.in (tlink.o): Don't depend on toplev.h.
      
      	* collect2.c (c_file, o_file, export_file, import_file, ldout,
      	output_file, nm_file_name, ldd_file_name, strip_file_name,
      	c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
      	add_prefix, prefix_from_env, prefix_from_string, do_wait,
      	fork_execute, maybe_unlink, add_to_list,
      	extract_init_priority, write_list, dump_list,
      	dump_prefix_list, write_list_with_asm, write_c_file,
      	write_c_file_stat, write_c_file_glob, scan_prog_file,
      	scan_libraries, is_in_list, resolve_lib_name, use_import_list,
      	ignore_library, extract_string, notice, dump_file, target_machine,
      	collect_wait, collect_execute, libname, locatelib, aix_std_libs,
      	read_file, print_load_command): Constify a char*.
      	(fdopen, error, fatal, fatal_perror): Don't prototype.
      	(my_strerror): Remove.  All callers use xstrerror instead.
      	(xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
      	(main): Add prototype.  Constify lots of char* ptrs.  Change calls
      	to xcalloc/strcpy/strcat/...  to one call to concat.
      	(main, scan_prog_file, scan_libraries): Use an intermediate
      	`const char **' to build an argv array.
      	(mapfile, libselect, libcompare, locatelib): Add prototypes.
      
      	* collect2.h (collect_execute, collect_wait, dump_file,
      	file_exists): Constify a char*.
      	(ldout, c_file_name, temporary_obstack, permanent_obstack,
      	temporary_firstobj, vflag, debug): Add extern declarations.
      	(fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
      
      	* tlink.c: Don't include toplev.h.
      	(vflag, debug, ldout, c_file_name, temporary_obstack,
      	permanent_obstack, temporary_firstobj): Don't declare.
      	(tlink_execute, frob_extension, symbol_hash_lookup,
      	file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
      	recompile_files, read_repo_files, demangle_new_symbols,
      	scan_linker_output): Constify a char*.
      	(symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
      	do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
      
      From-SVN: r29087
      Kaveh R. Ghazi committed
  13. 06 Jan, 1999 1 commit
  14. 10 Dec, 1998 1 commit