diff options
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp | 3 | ||||
-rw-r--r-- | lib/Target/X86/X86TargetMachine.cpp | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp index d2bab78..adb2428 100644 --- a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp @@ -34,9 +34,6 @@ FunctionPass *llvm::createX86CodePrinterPass(formatted_raw_ostream &o, return new X86ATTAsmPrinter(o, tm, tm.getTargetAsmInfo(), verbose); } -extern "C" int X86AsmPrinterForceLink; -int X86AsmPrinterForceLink = 0; - // Force static initialization. extern "C" void LLVMInitializeX86AsmPrinter() { extern Target TheX86_32Target; diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 43fbbc0..29f38a3 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -23,13 +23,6 @@ #include "llvm/Target/TargetMachineRegistry.h" using namespace llvm; -/// X86TargetMachineModule - Note that this is used on hosts that cannot link -/// in a library unless there are references into the library. In particular, -/// it seems that it is not possible to get things to work on Win32 without -/// this. Though it is unused, do not remove it. -extern "C" int X86TargetMachineModule; -int X86TargetMachineModule = 0; - // Register the target. extern Target TheX86_32Target; static RegisterTarget<X86_32TargetMachine> |