This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] pass @-files to collect2 and beyond


The attached patch adds special handling to the gcc driver and collect2
to pass @-file arguments to collect2 and subprocesses, respectively,
when they are passed @-file arguments.  The motivation behind this is to
avoid argv limits on some systems and/or large compiles.

Bootstrapped and regtested on x86_64-unknown-linux-gnu with no
regressions.  Tested with an @-file containing multiple files and '-v'
to ensure that collect2 received an @-file properly and that collect2
passed an @-file to ld.

OK to commit?

-Nathan

Attachment: at-file.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]