#include "llvm/Support/raw_ostream.h"
using namespace llvm;
+/// PowerPCTargetMachineModule - 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 PowerPCTargetMachineModule;
+int PowerPCTargetMachineModule = 0;
+
// Register the targets
static RegisterTarget<PPC32TargetMachine>
-X("ppc32", " PowerPC 32");
+X("ppc32", "PowerPC 32");
static RegisterTarget<PPC64TargetMachine>
-Y("ppc64", " PowerPC 64");
+Y("ppc64", "PowerPC 64");
// No assembler printer by default
PPCTargetMachine::AsmPrinterCtorFn PPCTargetMachine::AsmPrinterCtor = 0;