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
a1549b15
Commit
a1549b15
authored
31 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): For -debug, if ..._file_name is a null pointer,
say so instead of crashing. From-SVN: r4530
parent
14aadfe8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
gcc/collect2.c
+12
-6
No files found.
gcc/collect2.c
View file @
a1549b15
...
...
@@ -1009,12 +1009,18 @@ main (argc, argv)
if
(
debug
)
{
char
*
ptr
;
fprintf
(
stderr
,
"ld_file_name = %s
\n
"
,
ld_file_name
);
fprintf
(
stderr
,
"c_file_name = %s
\n
"
,
c_file_name
);
fprintf
(
stderr
,
"nm_file_name = %s
\n
"
,
nm_file_name
);
fprintf
(
stderr
,
"strip_file_name = %s
\n
"
,
strip_file_name
);
fprintf
(
stderr
,
"c_file = %s
\n
"
,
c_file
);
fprintf
(
stderr
,
"o_file = %s
\n
"
,
o_file
);
fprintf
(
stderr
,
"ld_file_name = %s
\n
"
,
(
ld_file_name
?
ld_file_name
:
"not found"
));
fprintf
(
stderr
,
"c_file_name = %s
\n
"
,
(
c_file_name
?
c_file_name
:
"not found"
));
fprintf
(
stderr
,
"nm_file_name = %s
\n
"
,
(
nm_file_name
?
nm_file_name
:
"not found"
));
fprintf
(
stderr
,
"strip_file_name = %s
\n
"
,
(
strip_file_name
?
strip_file_name
:
"not found"
));
fprintf
(
stderr
,
"c_file = %s
\n
"
,
(
c_file
?
c_file
:
"not found"
));
fprintf
(
stderr
,
"o_file = %s
\n
"
,
(
o_file
?
o_file
:
"not found"
));
ptr
=
getenv
(
"COLLECT_GCC_OPTIONS"
);
if
(
ptr
)
...
...
This diff is collapsed.
Click to expand it.
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