OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f24e2
)
Search for ld in the compiler directories.
author
ian
<ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jul 1993 18:20:25 +0000
(18:20 +0000)
committer
ian
<ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jul 1993 18:20:25 +0000
(18:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4872
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/collect2.c
patch
|
blob
|
history
diff --git
a/gcc/collect2.c
b/gcc/collect2.c
index
46410d8
..
0a9f1e5
100644
(file)
--- a/
gcc/collect2.c
+++ b/
gcc/collect2.c
@@
-857,9
+857,8
@@
main (argc, argv)
if (ld_file_name == 0)
ld_file_name = find_a_file (&path, REAL_LD_FILE_NAME);
#endif
- /* This would be the right place to search the compiler dirs
- for `ld', but we don't do that, since this program is installed
- there as `ld'. */
+ if (ld_file_name == 0)
+ ld_file_name = find_a_file (&cpath, full_ld_suffix);
/* Search the ordinary system bin directories
for `ld' (if native linking) or `TARGET-ld' (if cross). */
if (ld_file_name == 0)