[llvm-commits] CVS: llvm/tools/gccld/Linker.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Oct 21 16:08:07 PDT 2003
Changes in directory llvm/tools/gccld:
Linker.cpp updated: 1.11 -> 1.12
---
Log message:
Fix off-by-one error in processing of libraries named on command line.
---
Diffs of the changes: (+1 -1)
Index: llvm/tools/gccld/Linker.cpp
diff -u llvm/tools/gccld/Linker.cpp:1.11 llvm/tools/gccld/Linker.cpp:1.12
--- llvm/tools/gccld/Linker.cpp:1.11 Mon Oct 20 12:58:43 2003
+++ llvm/tools/gccld/Linker.cpp Tue Oct 21 16:07:12 2003
@@ -427,7 +427,7 @@
// 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()) {
More information about the llvm-commits
mailing list