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
db0751e4
Commit
db0751e4
authored
Feb 25, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(vms_check_external): New function.
From-SVN: r3527
parent
903da765
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
gcc/config/vax/vax.c
+29
-0
No files found.
gcc/config/vax/vax.c
View file @
db0751e4
...
@@ -578,6 +578,35 @@ vax_rtx_cost (x)
...
@@ -578,6 +578,35 @@ vax_rtx_cost (x)
return
c
;
return
c
;
}
}
/* Linked list of all externals that are to be emitted when optimizing
for the global pointer if they haven't been declared by the end of
the program with an appropriate .comm or initialization. */
struct
extern_list
{
struct
extern_list
*
next
;
/* next external */
char
*
name
;
/* name of the external */
}
*
extern_head
=
0
;
/* Return 1 if NAME has already had an external definition;
0 if it has not (so caller should output one). */
int
vms_check_external
(
name
)
char
*
name
;
{
register
struct
extern_list
*
p
;
for
(
p
=
extern_head
;
p
;
p
=
p
->
next
)
if
(
!
strcmp
(
p
->
name
,
name
))
return
1
;
p
=
(
struct
extern_list
*
)
permalloc
((
long
)
sizeof
(
struct
extern_list
));
p
->
next
=
extern_head
;
p
->
name
=
name
;
extern_head
=
p
;
return
0
;
}
#ifdef VMS
#ifdef VMS
/* Additional support code for VMS. */
/* Additional support code for VMS. */
...
...
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