Remove support for i386 tiger tools for aligned common symbols.
authorChris Lattner <sabre@nondot.org>
Mon, 25 Jan 2010 07:26:17 +0000 (07:26 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 25 Jan 2010 07:26:17 +0000 (07:26 +0000)
Previously we would just silently miscompile code that used aligned
common's, now at least you'll get a build error.  tiger-ppc already
triggered the build error because it didn't have a version of this
logic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94412 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86MCAsmInfo.cpp

index 1738d495842169e41ceab252d694a140ef21bd37..c0cab869794ac04aeac88b06a9a7d626b8be8973 100644 (file)
@@ -55,9 +55,6 @@ X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(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;
-
   CommentString = "##";
   PCSymbol = ".";