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
c7063b9a
Commit
c7063b9a
authored
Apr 13, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.
From-SVN: r13885
parent
1f0fcca5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/collect2.c
+4
-4
No files found.
gcc/collect2.c
View file @
c7063b9a
/* Collect static initialization info into data structures that can be
traversed by C++ initialization and finalization routines.
Copyright (C) 1992,
1993, 1994, 1995, 1996
Free Software Foundation, Inc.
Copyright (C) 1992,
93, 94, 95, 96, 1997
Free Software Foundation, Inc.
Contributed by Chris Smith (csmith@convex.com).
Heavily modified by Michael Meissner (meissner@cygnus.com),
Per Bothner (bothner@cygnus.com), and John Gilmore (gnu@cygnus.com).
...
...
@@ -382,7 +382,7 @@ fatal_perror (string, arg1, arg2, arg3)
fprintf
(
stderr
,
"collect2: "
);
fprintf
(
stderr
,
string
,
arg1
,
arg2
,
arg3
);
fprintf
(
stderr
,
": %s
\n
"
,
my_strerror
(
e
));
collect_exit
(
1
);
collect_exit
(
FATAL_EXIT_CODE
);
}
/* Just die. */
...
...
@@ -394,7 +394,7 @@ fatal (string, arg1, arg2, arg3)
fprintf
(
stderr
,
"collect2: "
);
fprintf
(
stderr
,
string
,
arg1
,
arg2
,
arg3
);
fprintf
(
stderr
,
"
\n
"
);
collect_exit
(
1
);
collect_exit
(
FATAL_EXIT_CODE
);
}
/* Write error message. */
...
...
@@ -1488,7 +1488,7 @@ collect_wait (prog)
(
status
&
0200
)
?
", core dumped"
:
""
);
#endif
collect_exit
(
127
);
collect_exit
(
FATAL_EXIT_CODE
);
}
if
(
WIFEXITED
(
status
))
...
...
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