Changes in directory llvm/include/llvm/Target:
TargetAsmInfo.h updated: 1.28 -> 1.29 --- Log message: Implement "general dynamic", "initial exec" and "local exec" TLS models for X86 32 bits. --- Diffs of the changes: (+15 -1) TargetAsmInfo.h | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletion(-) Index: llvm/include/llvm/Target/TargetAsmInfo.h diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.28 llvm/include/llvm/Target/TargetAsmInfo.h:1.29 --- llvm/include/llvm/Target/TargetAsmInfo.h:1.28 Wed Mar 7 19:00:38 2007 +++ llvm/include/llvm/Target/TargetAsmInfo.h Fri Apr 20 16:38:10 2007 @@ -43,7 +43,15 @@ /// target doesn't support a BSS section. /// const char *BSSSection; // Default to ".bss". - + + /// TLSDataSection - Section directive for Thread Local data. + /// + const char *TLSDataSection;// Defaults to ".section .tdata,"awT",@progbits". + + /// TLSBSSSection - Section directive for Thread Local uninitialized data. + /// Null if this target doesn't support a BSS section. + /// + const char *TLSBSSSection;// Default to ".section .tbss,"awT",@nobits". /// ZeroFillDirective - Directive for emitting a global to the ZeroFill /// section on this target. Null if this target doesn't support zerofill. const char *ZeroFillDirective; // Default is null. @@ -362,6 +370,12 @@ const char *getBSSSection() const { return BSSSection; } + const char *getTLSDataSection() const { + return TLSDataSection; + } + const char *getTLSBSSSection() const { + return TLSBSSSection; + } const char *getZeroFillDirective() const { return ZeroFillDirective; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits