summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-13 05:30:22 +0000
committerChris Lattner <sabre@nondot.org>2009-08-13 05:30:22 +0000
commiteb681981455ce3ee94e91975ef3f1a286a5bbfc0 (patch)
treedad6fc10dd33a79f8947a292d472069dbac6bb2d /llvm/lib/Target/X86/X86TargetAsmInfo.cpp
parenta95379d165baa1212e2776d7a76abcd712c00177 (diff)
downloadbcm5719-llvm-eb681981455ce3ee94e91975ef3f1a286a5bbfc0.tar.gz
bcm5719-llvm-eb681981455ce3ee94e91975ef3f1a286a5bbfc0.zip
fix a minor fixme. When building with SL and later tools, the ".eh" symbols
don't need to be exported from the .o files. llvm-svn: 78892
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetAsmInfo.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
index d978eb179de..b6270108da2 100644
--- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
@@ -43,7 +43,8 @@ static const char *const x86_asm_table[] = {
"{cc}", "cc",
0,0};
-X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const Triple &Triple) {
+X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const Triple &Triple)
+ : DarwinTargetAsmInfo(Triple) {
AsmTransCBE = x86_asm_table;
AssemblerDialect = AsmWriterFlavor;
@@ -54,9 +55,6 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const Triple &Triple) {
if (!is64Bit)
Data64bitsDirective = 0; // we can't emit a 64-bit unit
- // Leopard and above support aligned common symbols.
- COMMDirectiveTakesAlignment = Triple.getDarwinMajorNumber() >= 9;
-
if (is64Bit) {
PersonalityPrefix = "";
PersonalitySuffix = "+4@GOTPCREL";
OpenPOWER on IntegriCloud