projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b920fe7
)
Fix off-by-one error in processing of libraries named on command line.
author
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 21 Oct 2003 21:07:12 +0000
(21:07 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 21 Oct 2003 21:07:12 +0000
(21:07 +0000)
llvm-svn: 9351
llvm/tools/gccld/Linker.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/gccld/Linker.cpp
b/llvm/tools/gccld/Linker.cpp
index
881581f
..
d9c029a
100644
(file)
--- a/
llvm/tools/gccld/Linker.cpp
+++ b/
llvm/tools/gccld/Linker.cpp
@@
-427,7
+427,7
@@
bool LinkLibraries(const char *progname,
// String in which to receive error messages.
std::string ErrorMessage;
- for (unsigned i =
1
; i < Libraries.size(); ++i) {
+ for (unsigned i =
0
; i < Libraries.size(); ++i) {
// Determine where this library lives.
std::string Pathname = FindLib(Libraries[i], LibPaths);
if (Pathname.empty()) {