MipsGNUInfo.h revision d0fbbb227051be16931a1aa9b4a7722ac039c698
1//===- MipsGNUInfo.h ------------------------------------------------------===//
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#ifndef MCLD_TARGET_MIPS_GNU_INFO_H
10#define MCLD_TARGET_MIPS_GNU_INFO_H
11#include <mcld/Target/GNUInfo.h>
12
13#include <llvm/Support/ELF.h>
14
15namespace mcld {
16
17class MipsGNUInfo : public GNUInfo
18{
19public:
20  MipsGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { }
21
22  uint32_t machine() const { return llvm::ELF::EM_MIPS; }
23
24};
25
26} // namespace of mcld
27
28#endif
29
30