Make collect2 use common diagnostics code

Gabriel Dos Reis gdr@integrable-solutions.net
Thu May 19 18:17:00 GMT 2011


On Thu, May 19, 2011 at 11:11 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> This patch makes collect2 use the common diagnostics infrastructure,
> instead of its own diagnostic functions.  (This is in preparation for
> having a hooks structure shared between the driver and cc1.  Recall
> that as described in <http://gcc.gnu.org/ml/gcc/2010-10/msg00294.html>
> the idea is that collect2 is logically part of the driver, and in the
> interests of simplicity it is intended to share the same hooks as the
> rest of the driver.)
>
> Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to
> commit?

Yes.  Many thanks for carrying this work this far.

-- Gaby



More information about the Gcc-patches mailing list