[llvm-commits] CVS: llvm/tools/llvm-ld/llvm-ld.cpp

Reid Spencer reid at x10sys.com
Mon Jan 9 19:14:53 PST 2006



Changes in directory llvm/tools/llvm-ld:

llvm-ld.cpp updated: 1.28 -> 1.29
---
Log message:

For PR521: http://llvm.cs.uiuc.edu/PR521 :
With these patches we implement the ability for the Linker library to 
keep track of which libraries were actually bytecode files (not archives)
and cause their users to remove such files from the list of libraries to
pass to the native linker.


---
Diffs of the changes:  (+2 -1)

 llvm-ld.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/tools/llvm-ld/llvm-ld.cpp
diff -u llvm/tools/llvm-ld/llvm-ld.cpp:1.28 llvm/tools/llvm-ld/llvm-ld.cpp:1.29
--- llvm/tools/llvm-ld/llvm-ld.cpp:1.28	Tue Dec 20 23:03:23 2005
+++ llvm/tools/llvm-ld/llvm-ld.cpp	Mon Jan  9 21:14:40 2006
@@ -434,10 +434,11 @@
     } else {
       // Build a list of the items from our command line
       Linker::ItemList Items;
+      Linker::ItemList NativeItems;
       BuildLinkItems(Items, InputFilenames, Libraries);
 
       // Link all the items together
-      if (TheLinker.LinkInItems(Items) )
+      if (TheLinker.LinkInItems(Items,NativeItems) )
         return 1;
     }
 






More information about the llvm-commits mailing list