blob: 4f2f8157d468aeac2d2f58c23a441ff7349bfc64 [file] [log] [blame]
//===- ARMTargetInfo.cpp --------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "mcld/Target/TargetMachine.h"
#include "mcld/Support/TargetRegistry.h"
namespace mcld {
mcld::Target TheARMTarget;
mcld::Target TheThumbTarget;
extern "C" void LLVMInitializeARMLDTargetInfo() {
// register into mcld::TargetRegistry
mcld::RegisterTarget X(TheARMTarget, "arm" );
mcld::RegisterTarget Y(TheThumbTarget, "thumb" );
}
} // namespace of mcld