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
13fa4e7a
Commit
13fa4e7a
authored
Feb 21, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fatal, error): Add ! HAVE_VPRINTF versions.
From-SVN: r6598
parent
f8151871
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
gcc/mips-tfile.c
+23
-0
No files found.
gcc/mips-tfile.c
View file @
13fa4e7a
...
...
@@ -5537,6 +5537,8 @@ free_thead (ptr)
#endif
/* MIPS_DEBUGGING_INFO */
#ifdef HAVE_VPRINTF
/* Output an error message and exit */
/*VARARGS*/
...
...
@@ -5600,6 +5602,27 @@ error VPROTO((char *format, ...))
saber_stop
();
}
#else
/* not HAVE_VPRINTF */
void
fatal
(
msg
,
arg1
,
arg2
)
char
*
msg
,
*
arg1
,
*
arg2
;
{
error
(
msg
,
arg1
,
arg2
);
exit
(
1
);
}
void
error
(
msg
,
arg1
,
arg2
)
char
*
msg
,
*
arg1
,
*
arg2
;
{
fprintf
(
stderr
,
"%s: "
,
progname
);
fprintf
(
stderr
,
msg
,
arg1
,
arg2
);
fprintf
(
stderr
,
"
\n
"
);
}
#endif
/* not HAVE_VPRINTF */
/* More 'friendly' abort that prints the line and file.
config.h can #define abort fancy_abort if you like that sort of thing. */
...
...
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