[gomp4/stage1] Utility functions for collect2/lto-wrapper/mkoffload 2/2
Bernd Schmidt
bernds@codesourcery.com
Thu Mar 20 17:10:00 GMT 2014
This is the second part of making a set of utility functions to be used
by collect2, lto-wrapper and mkoffload.
The implementations of some functions like fork_execute are changed to
those from collect2 and the calls in lto-wrapper adapted accordingly.
There are some minor changes in these functions: for example I avoid
calling fatal_error, instead using the fatal/fatal_perror functions so
that the cleanup routine is called properly (lto-wrapper does not use
atexit as collect2 does).
Committed on gomp-4_0-branch; ok for stage1?
Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: utils2-g4.diff
Type: text/x-patch
Size: 25922 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140320/bbf76d5c/attachment.bin>
More information about the Gcc-patches
mailing list