(translate_options): Skip arguments of -B, -b, -V, -x,

and -Xlinker options.

From-SVN: r6289
This commit is contained in:
Jim Wilson 1993-12-23 16:26:16 -08:00
parent a6642da8c0
commit fb99c21cfa
1 changed files with 5 additions and 0 deletions

View File

@ -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)
{