blob: 9bbc5488abd4d61ba34f4bc6d9ba90e3d70d277b [file] [log] [blame]
//===- MipsGNUInfo.h ------------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef MCLD_TARGET_MIPS_GNU_INFO_H
#define MCLD_TARGET_MIPS_GNU_INFO_H
#include <mcld/Target/GNUInfo.h>
#include <llvm/Support/ELF.h>
namespace mcld {
class MipsGNUInfo : public GNUInfo
{
public:
MipsGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { }
uint32_t machine() const { return llvm::ELF::EM_MIPS; }
};
} // namespace of mcld
#endif