From fb99c21cfafa28704c637df116f483000b2cb65b Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 23 Dec 1993 16:26:16 -0800 Subject: [PATCH] (translate_options): Skip arguments of -B, -b, -V, -x, and -Xlinker options. From-SVN: r6289 --- gcc/gcc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/gcc.c b/gcc/gcc.c index 96fe0723b63..c6f2e79ea5a 100644 --- 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) { -- 2.30.2