[Patch] Add support of AIX response files in collect2
Fri Oct 21 16:22:00 GMT 2011
On Fri, Oct 21, 2011 at 6:39 AM, Tristan Gingold <email@example.com> wrote:
> 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 ?
> 2011-10-21 Tristan Gingold <firstname.lastname@example.org>
> * collect2.c (main): Add support of -f (response file) on AIX.
More information about the Gcc-patches