(translate_options): Skip arguments of -B, -b, -V, -x,
authorJim Wilson <wilson@gcc.gnu.org>
Fri, 24 Dec 1993 00:26:16 +0000 (16:26 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 24 Dec 1993 00:26:16 +0000 (16:26 -0800)
and -Xlinker options.

From-SVN: r6289

gcc/gcc.c

index 96fe072..c6f2e79 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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)
            {