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