1 //===- MipsTargetInfo.cpp -------------------------------------------------===// 2 // 3 // The MCLinker Project 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 #include <mcld/Support/Target.h> 10 #include <mcld/Support/TargetRegistry.h> 11 12 namespace mcld { 13 14 mcld::Target TheMipselTarget; 15 mcld::Target TheMips64elTarget; 16 MCLDInitializeMipsLDTargetInfo()17extern "C" void MCLDInitializeMipsLDTargetInfo() { 18 mcld::RegisterTarget<llvm::Triple::mipsel> 19 X1(TheMipselTarget, "mipsel"); 20 mcld::RegisterTarget<llvm::Triple::mips64el> 21 X2(TheMips64elTarget, "mips64el"); 22 } 23 24 } // namespace of mcld 25