diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-12-23 16:26:16 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-12-23 16:26:16 -0800 |
commit | fb99c21cfafa28704c637df116f483000b2cb65b (patch) | |
tree | 25d3ab1bcb675ef9b53d4a31114dfb231ef99208 /gcc | |
parent | a6642da8c0978a553075224409c1ee5fd12dc219 (diff) | |
download | gcc-fb99c21cfafa28704c637df116f483000b2cb65b.zip gcc-fb99c21cfafa28704c637df116f483000b2cb65b.tar.gz gcc-fb99c21cfafa28704c637df116f483000b2cb65b.tar.bz2 |
(translate_options): Skip arguments of -B, -b, -V, -x,
and -Xlinker options.
From-SVN: r6289
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/gcc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -844,6 +844,11 @@ translate_options (argcp, argvp) nskip += SWITCH_TAKES_ARG (c) - (p[1] != 0); else if (WORD_SWITCH_TAKES_ARG (p)) nskip += WORD_SWITCH_TAKES_ARG (p); + else if ((c == 'B' || c == 'b' || c == 'V' || c == 'x') + && p[1] == 0) + nskip += 1; + else if (! strcmp (p, "Xlinker")) + nskip += 1; while (nskip > 0) { |