Remove X86 .quad workaround for buggy GNU assembler on OpenBSD / Bitrig.
authorBrad Smith <brad@comstyle.com>
Tue, 6 Jan 2015 00:53:52 +0000 (00:53 +0000)
committerBrad Smith <brad@comstyle.com>
Tue, 6 Jan 2015 00:53:52 +0000 (00:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225227 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp

index 9a5587cb51d52aedee0d9c03bc643b44ea01de5b..5795514beec9a807f5cbcc0bfa05cc88de9a3289 100644 (file)
@@ -108,11 +108,6 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) {
   // Exceptions handling
   ExceptionsType = ExceptionHandling::DwarfCFI;
 
   // Exceptions handling
   ExceptionsType = ExceptionHandling::DwarfCFI;
 
-  // OpenBSD and Bitrig have buggy support for .quad in 32-bit mode, just split
-  // into two .words.
-  if ((T.isOSOpenBSD() || T.isOSBitrig()) && T.getArch() == Triple::x86)
-    Data64bitsDirective = nullptr;
-
   // Always enable the integrated assembler by default.
   // Clang also enabled it when the OS is Solaris but that is redundant here.
   UseIntegratedAssembler = true;
   // Always enable the integrated assembler by default.
   // Clang also enabled it when the OS is Solaris but that is redundant here.
   UseIntegratedAssembler = true;