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
878fb2ac
Commit
878fb2ac
authored
Jun 29, 1992
by
Charles Hannum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1339
parent
1a107c55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
gcc/mips-tfile.c
+7
-5
No files found.
gcc/mips-tfile.c
View file @
878fb2ac
...
@@ -655,6 +655,8 @@ extern void xfree __proto((PTR_T));
...
@@ -655,6 +655,8 @@ extern void xfree __proto((PTR_T));
extern
void
fatal
();
/* can't use prototypes here */
extern
void
fatal
();
/* can't use prototypes here */
extern
void
error
();
extern
void
error
();
extern
char
*
index
();
extern
char
*
rindex
();
#ifndef MIPS_DEBUGGING_INFO
#ifndef MIPS_DEBUGGING_INFO
...
@@ -3548,8 +3550,8 @@ parse_file (start)
...
@@ -3548,8 +3550,8 @@ parse_file (start)
(
void
)
strtol
(
start
,
&
p
,
0
);
(
void
)
strtol
(
start
,
&
p
,
0
);
if
(
start
==
p
if
(
start
==
p
||
(
start_name
=
strchr
(
p
,
'"'
))
==
(
char
*
)
0
||
(
start_name
=
index
(
p
,
'"'
))
==
(
char
*
)
0
||
(
end_name_p1
=
strrchr
(
++
start_name
,
'"'
))
==
(
char
*
)
0
)
||
(
end_name_p1
=
rindex
(
++
start_name
,
'"'
))
==
(
char
*
)
0
)
{
{
error
(
"Illegal .file directive"
);
error
(
"Illegal .file directive"
);
return
;
return
;
...
@@ -3760,7 +3762,7 @@ STATIC void
...
@@ -3760,7 +3762,7 @@ STATIC void
parse_stabs
(
start
)
parse_stabs
(
start
)
const
char
*
start
;
/* start of directive */
const
char
*
start
;
/* start of directive */
{
{
const
char
*
end
=
strchr
(
start
+
1
,
'"'
);
const
char
*
end
=
index
(
start
+
1
,
'"'
);
if
(
*
start
!=
'"'
||
end
==
(
const
char
*
)
0
||
end
[
1
]
!=
','
)
if
(
*
start
!=
'"'
||
end
==
(
const
char
*
)
0
||
end
[
1
]
!=
','
)
{
{
...
@@ -4458,7 +4460,7 @@ copy_object __proto((void))
...
@@ -4458,7 +4460,7 @@ copy_object __proto((void))
&&
orig_files
->
caux
==
0
)
&&
orig_files
->
caux
==
0
)
{
{
char
*
filename
=
orig_local_strs
+
(
orig_files
->
issBase
+
orig_files
->
rss
);
char
*
filename
=
orig_local_strs
+
(
orig_files
->
issBase
+
orig_files
->
rss
);
char
*
suffix
=
strrchr
(
filename
,
'.'
);
char
*
suffix
=
rindex
(
filename
,
'.'
);
if
(
suffix
!=
(
char
*
)
0
&&
strcmp
(
suffix
,
".s"
)
==
0
)
if
(
suffix
!=
(
char
*
)
0
&&
strcmp
(
suffix
,
".s"
)
==
0
)
delete_ifd
=
1
;
delete_ifd
=
1
;
...
@@ -4692,7 +4694,7 @@ main (argc, argv)
...
@@ -4692,7 +4694,7 @@ main (argc, argv)
char
*
argv
[];
char
*
argv
[];
{
{
int
iflag
=
0
;
int
iflag
=
0
;
char
*
p
=
strrchr
(
argv
[
0
],
'/'
);
char
*
p
=
rindex
(
argv
[
0
],
'/'
);
char
*
num_end
;
char
*
num_end
;
int
option
;
int
option
;
int
i
;
int
i
;
...
...
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