//===- X86TargetInfo.cpp --------------------------------------------------===// // // The MCLinker Project // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #include "mcld/Support/Target.h" #include "mcld/Support/TargetRegistry.h" namespace mcld { mcld::Target TheX86_32Target; mcld::Target TheX86_64Target; extern "C" void MCLDInitializeX86LDTargetInfo() { // register into mcld::TargetRegistry mcld::RegisterTarget X(TheX86_32Target, "x86"); mcld::RegisterTarget Y(TheX86_64Target, "x86-64"); } } // namespace mcld