[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetAsmInfo.cpp
Chris Lattner
sabre at nondot.org
Mon Sep 25 20:40:08 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86TargetAsmInfo.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)
X86TargetAsmInfo.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Target/X86/X86TargetAsmInfo.cpp
diff -u llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.2 llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.3
--- llvm/lib/Target/X86/X86TargetAsmInfo.cpp:1.2 Fri Sep 8 01:48:29 2006
+++ llvm/lib/Target/X86/X86TargetAsmInfo.cpp Mon Sep 25 22:39:53 2006
@@ -44,6 +44,7 @@
InlineAsmStart = "# InlineAsm Start";
InlineAsmEnd = "# InlineAsm End";
SetDirective = "\t.set";
+ UsedDirective = "\t.no_dead_strip\t";
NeedsSet = true;
DwarfAbbrevSection = ".section __DWARF,__debug_abbrev,regular,debug";
More information about the llvm-commits
mailing list