Changes in directory llvm/lib/Target/PowerPC:

PPCTargetAsmInfo.cpp updated: 1.2 -> 1.3
---
Log message:

Compile:
int x __attribute__((used));

to:

        .data
.comm _x,4              ; 'x'
        .no_dead_strip  _x

on both x86 and ppc darwin targets.



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

 PPCTargetAsmInfo.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp:1.2 
llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp:1.3
--- llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp:1.2    Fri Sep  8 08:06:56 2006
+++ llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp        Mon Sep 25 22:39:53 2006
@@ -32,6 +32,7 @@
   LCOMMDirective = "\t.lcomm\t";
   StaticCtorsSection = ".mod_init_func";
   StaticDtorsSection = ".mod_term_func";
+  UsedDirective = "\t.no_dead_strip\t";
   InlineAsmStart = "# InlineAsm Start";
   InlineAsmEnd = "# InlineAsm End";
   



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

Reply via email to