[micro-PATCH] Call expandargv in gcov
Tristan Gingold
gingold@adacore.com
Wed Aug 20 13:20:00 GMT 2008
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);
More information about the Gcc-patches
mailing list