Changes in directory llvm/lib/Target/PowerPC:

PPCAsmPrinter.cpp updated: 1.100 -> 1.101
---
Log message:

Do not globalize internal symbols


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

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


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.100 
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.101
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.100     Tue Oct 18 11:51:22 2005
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp   Fri Oct 28 13:44:07 2005
@@ -390,7 +390,8 @@
   // Print out labels for the function.
   O << "\t.text\n";
   emitAlignment(4);
-  O << "\t.globl\t" << CurrentFnName << "\n";
+  if (!MF.getFunction()->hasInternalLinkage())
+    O << "\t.globl\t" << CurrentFnName << "\n";
   O << CurrentFnName << ":\n";
 
   // Print out code for the function.



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

Reply via email to