PATCH RFC: Remove fork from collect2

Ian Lance Taylor ian@wasabisystems.com
Wed Mar 17 13:05:00 GMT 2004


Gunther Nikl <gni@gecko.de> writes:

> On Tue, Mar 16, 2004 at 09:38:14PM -0500, Ian Lance Taylor wrote:
> > Here is the promised patch to remove the fork call from collect2.
> 
>   If I read the original code correctly, it could also use vfork(). That
>   is gone woth your patch.

Correct.  The new code can use vfork if people think that is
important.

Recall that this code is rarely used at present.  We would get a
bigger benefit by converting pex-unix.c to use vfork, since that is
always used.

Ian



More information about the Gcc-patches mailing list