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
98552524
Commit
98552524
authored
Jun 30, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): Don't look for `gld' or `TARGET-gld'.
From-SVN: r4805
parent
da3c3336
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/collect2.c
+6
-0
No files found.
gcc/collect2.c
View file @
98552524
...
...
@@ -690,8 +690,10 @@ main (argc, argv)
char
*
full_ld_suffix
=
ld_suffix
;
char
*
real_ld_suffix
=
"real-ld"
;
char
*
full_real_ld_suffix
=
real_ld_suffix
;
#if 0
char *gld_suffix = "gld";
char *full_gld_suffix = gld_suffix;
#endif
char
*
nm_suffix
=
"nm"
;
char
*
full_nm_suffix
=
nm_suffix
;
char
*
gnm_suffix
=
"gnm"
;
...
...
@@ -800,11 +802,13 @@ main (argc, argv)
strcat
(
full_real_ld_suffix
,
"-"
);
strcat
(
full_real_ld_suffix
,
real_ld_suffix
);
#if 0
full_gld_suffix
= xcalloc (strlen (gld_suffix) + strlen (target_machine) + 2, 1);
strcpy (full_gld_suffix, target_machine);
strcat (full_gld_suffix, "-");
strcat (full_gld_suffix, gld_suffix);
#endif
full_nm_suffix
=
xcalloc
(
strlen
(
nm_suffix
)
+
strlen
(
target_machine
)
+
2
,
1
);
...
...
@@ -833,12 +837,14 @@ main (argc, argv)
/* Try to discover a valid linker/nm/strip to use. */
#if 0
/* Search the (target-specific) compiler dirs for `gld'. */
ld_file_name = find_a_file (&cpath, gld_suffix);
/* Search the ordinary system bin directories
for `gld' (if native linking) or `TARGET-gld' (if cross). */
if (ld_file_name == 0)
ld_file_name = find_a_file (&path, full_gld_suffix);
#endif
/* Likewise for `real-ld'. */
if
(
ld_file_name
==
0
)
ld_file_name
=
find_a_file
(
&
cpath
,
real_ld_suffix
);
...
...
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