]> gcc.gnu.org Git - gcc.git/commit
re PR bootstrap/14316 (collect2 doesnt build on windows hosts)
authorIan Lance Taylor <ian@airs.com>
Tue, 29 Mar 2005 19:39:35 +0000 (19:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 29 Mar 2005 19:39:35 +0000 (19:39 +0000)
commit1fff69c9a4ac6a18dcb45abbb311ae1e3e96c6e7
tree14d07064a525534cdc2996c320b7f9f3da0183a9
parentd1edc3936609d114f92bc547761109c2b823c8e3
re PR bootstrap/14316 (collect2 doesnt build on windows hosts)

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
gcc/ChangeLog
gcc/collect2.c
gcc/collect2.h
gcc/tlink.c
This page took 0.055656 seconds and 5 git commands to generate.