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
e56f4605
Commit
e56f4605
authored
Jun 19, 2018
by
David Edelsohn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap is_static with COLLECT_EXPORT_LIST
From-SVN: r261775
parent
b5ebb717
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gcc/collect2.c
+4
-0
No files found.
gcc/collect2.c
View file @
e56f4605
...
...
@@ -911,7 +911,9 @@ main (int argc, char **argv)
int
first_file
;
int
num_c_args
;
char
**
old_argv
;
#ifdef COLLECT_EXPORT_LIST
bool
is_static
=
false
;
#endif
int
i
;
for
(
i
=
0
;
i
<
USE_LD_MAX
;
i
++
)
...
...
@@ -1272,7 +1274,9 @@ main (int argc, char **argv)
/* Parse arguments. Remember output file spec, pass the rest to ld. */
/* After the first file, put in the c++ rt0. */
#ifdef COLLECT_EXPORT_LIST
is_static
=
static_obj
;
#endif
first_file
=
1
;
while
((
arg
=
*++
argv
)
!=
(
char
*
)
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