This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Add support of AIX response files in collect2
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 21 Oct 2011 11:51:07 -0400
- Subject: Re: [Patch] Add support of AIX response files in collect2
- References: <CD63C416-956A-4C10-A6C7-46C924A15BA1@adacore.com>
On Fri, Oct 21, 2011 at 6:39 AM, Tristan Gingold <gingold@adacore.com> wrote:
> Hi,
>
> the AIX linker supports response files with the '-fFILE' command line option.
> With this patch, collect2 reads the content of the response files and listed object files are handled. ?Therefore these files are not forgotten by the collect2 machinery.
>
> Although AIX ld supports glob(3) patterns, this isn't handled by this patch because glob() isn't available on all hosts, isn't present in libiberty and its use is not common. ?To be considered for the future.
>
> I haven't added a testcase for this because I think this is not possible with only one file. ?But hints are welcome.
>
> Reduced bootstrap on rs6000-aix
>
> Ok for trunk ?
>
> Tristan.
>
> 2011-10-21 ?Tristan Gingold ?<gingold@adacore.com>
>
> ? ? ? ?* collect2.c (main): Add support of -f (response file) on AIX.
Okay.
Thanks, David