This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Create a library for tools like collect2 and lto-wrapper (1/2)
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 May 2014 12:21:35 -0400
- Subject: Re: Create a library for tools like collect2 and lto-wrapper (1/2)
- Authentication-results: sourceware.org; auth=none
> For offloading which is being implemented on the gomp4 branch, we're about to introduce new mkoffload programs. These are going to require a lot of functionality that's already present in lto-wrapper and collect2, I've decided to make a new set of utility functions that can be linked in with these programs.
> This is the first step, splitting off code from lto-wrapper into a new collect-utils.c file. The next step will replace some of these with almost-identical ones from collect2 and make that tool also link with collect-utils.
> Bootstrapped and tested on x86_64-linux, ok for trunk?
Given that collect2 is critical for ctors and dtors on AIX and AIX has
been the major (only?) recent user of collect2, please test this on
AIX.
Thanks, David