Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: gcc/gcc.c

Issue 10532086: Fix "-lxxx" command line parsing. (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc.c
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 55bc335d7dde2ba21290a7550875229d053f5055..ecb671f31b70d4a7b70892e490a66c7f246e9a73 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4198,6 +4198,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
switches[n_switches].args = 0;
switches[n_switches].live_cond = 0;
switches[n_switches].validated = 0;
+ switches[n_switches].ordering = 0;
n_switches++;
}
else if (strncmp (argv[i], "-Wl,", 4) == 0)
@@ -4236,7 +4237,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
switches[n_switches].part1 = infiles[n_infiles++].name + 1;
switches[n_switches].args = 0;
switches[n_switches].live_cond = 1;
- switches[n_switches++].validated = 1;
+ switches[n_switches].validated = 1;
+ switches[n_switches++].ordering = 0;
}
else if (strncmp (argv[i], "-l", 2) == 0)
{
@@ -4245,7 +4247,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
switches[n_switches].part1 = infiles[n_infiles++].name + 1;
switches[n_switches].args = 0;
switches[n_switches].live_cond = 1;
- switches[n_switches++].validated = 1;
+ switches[n_switches].validated = 1;
+ switches[n_switches++].ordering = 0;
}
else if (strcmp (argv[i], "-wrapper") == 0)
i++;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698