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]

[micro-PATCH] Call expandargv in gcov


Hi,

in order to bypass exec(2) arguments limitation (E2BIG) for gcov, add a call to expandargv.

Regtested on x86-64 linux.

Tristan.


2008-08-19 Tristan Gingold <gingold@adacore.com>


* gcov.c (main): Call expandargv.

--- gcc/gcov.c	(revision 139223)
+++ gcc/gcov.c	(working copy)
@@ -361,6 +361,9 @@

gcc_init_libintl ();

+ /* Handle response files. */
+ expandargv (&argc, &argv);
+
argno = process_args (argc, argv);
if (optind == argc)
print_usage (true);



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