[llvm-commits] [llvm] r45770 - /llvm/trunk/tools/llvm-ld/llvm-ld.cpp
Chris Lattner
sabre at nondot.org
Tue Jan 8 17:01:18 PST 2008
Author: lattner
Date: Tue Jan 8 19:01:17 2008
New Revision: 45770
URL: http://llvm.org/viewvc/llvm-project?rev=45770&view=rev
Log:
Fix llvm-ld -Xlinker, patch by Daniel Teske!
Modified:
llvm/trunk/tools/llvm-ld/llvm-ld.cpp
Modified: llvm/trunk/tools/llvm-ld/llvm-ld.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ld/llvm-ld.cpp?rev=45770&r1=45769&r2=45770&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ld/llvm-ld.cpp (original)
+++ llvm/trunk/tools/llvm-ld/llvm-ld.cpp Tue Jan 8 19:01:17 2008
@@ -338,10 +338,8 @@
}
// Add the requested options
- for (unsigned index = 0; index < XLinker.size(); index++) {
+ for (unsigned index = 0; index < XLinker.size(); index++)
args.push_back(XLinker[index]);
- args.push_back(Libraries[index]);
- }
// Add in the libraries to link.
for (unsigned index = 0; index < LinkItems.size(); index++)
More information about the llvm-commits
mailing list