Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
fb99c21c
Commit
fb99c21c
authored
Dec 23, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(translate_options): Skip arguments of -B, -b, -V, -x,
and -Xlinker options. From-SVN: r6289
parent
a6642da8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
gcc/gcc.c
+5
-0
No files found.
gcc/gcc.c
View file @
fb99c21c
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment