* manually concatenate two string literals
authorChris Lattner <sabre@nondot.org>
Wed, 8 Jul 2009 23:09:14 +0000 (23:09 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Jul 2009 23:09:14 +0000 (23:09 +0000)
* remove some dead code: darwin doesn't support dllimport linkage.

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

lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp

index d20545709066c22cd72a736df3ad0de55d53c91d..1c9bc0320dabc380424d096d9e172c230f7c5d4c 100644 (file)
@@ -52,7 +52,7 @@ void X86ATTAsmPrinter::PrintPICBaseSymbol() const {
   if (Subtarget->isTargetDarwin())
     O << "\"L" << getFunctionNumber() << "$pb\"";
   else if (Subtarget->isTargetELF())
-    O << ".Lllvm$" << getFunctionNumber() << "." "$piclabel";
+    O << ".Lllvm$" << getFunctionNumber() << ".$piclabel";
   else
     assert(0 && "Don't know how to print PIC label!\n");
 }
@@ -504,8 +504,6 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
           printSuffixedName(Name, "$non_lazy_ptr");
         }
       } else {
-        if (GV->hasDLLImportLinkage())
-          O << "__imp_";
         O << Name;
       }