Changes in directory llvm/lib/Target/ARM:

ARMAsmPrinter.cpp updated: 1.29 -> 1.30
---
Log message:

add support for weak linkage


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

 ARMAsmPrinter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.29 
llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.30
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.29  Thu Nov  9 07:58:55 2006
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp       Tue Dec  5 11:00:17 2006
@@ -128,7 +128,7 @@
     break;
   case Function::WeakLinkage:
   case Function::LinkOnceLinkage:
-    assert(0 && "Not implemented");
+    O << "\t.weak\t" << CurrentFnName << "\n";
     break;
   }
   EmitAlignment(2, F);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to