diff options
| author | Bill Wendling <isanbard@gmail.com> | 2007-01-27 02:54:30 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2007-01-27 02:54:30 +0000 |
| commit | 40d776469dcbb10237482debf2ba31f4924917e2 (patch) | |
| tree | 260dff26ee1c3d1044c2233c50ea3d818c165a7f | |
| parent | 4f45222baa6ed803c836114f9681bd7a3204784d (diff) | |
| download | external_llvm-40d776469dcbb10237482debf2ba31f4924917e2.zip external_llvm-40d776469dcbb10237482debf2ba31f4924917e2.tar.gz external_llvm-40d776469dcbb10237482debf2ba31f4924917e2.tar.bz2 | |
X86 implementation of the TargetELFWriterInfo class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33571 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | lib/Target/X86/X86ELFWriterInfo.cpp | 17 | ||||
| -rw-r--r-- | lib/Target/X86/X86ELFWriterInfo.h | 29 |
2 files changed, 46 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ELFWriterInfo.cpp b/lib/Target/X86/X86ELFWriterInfo.cpp new file mode 100644 index 0000000..e7c0909 --- /dev/null +++ b/lib/Target/X86/X86ELFWriterInfo.cpp @@ -0,0 +1,17 @@ +//===-- X86ELFWriterInfo.cpp - ELF Writer Info for the X86 backend --------===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by Bill Wendling and is distributed under the +// University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file implements ELF writer information for the X86 backend. +// +//===----------------------------------------------------------------------===// + +#include "X86ELFWriterInfo.h" +using namespace llvm; + +X86ELFWriterInfo::X86ELFWriterInfo() : TargetELFWriterInfo(EM_386) {} diff --git a/lib/Target/X86/X86ELFWriterInfo.h b/lib/Target/X86/X86ELFWriterInfo.h new file mode 100644 index 0000000..b10ef41 --- /dev/null +++ b/lib/Target/X86/X86ELFWriterInfo.h @@ -0,0 +1,29 @@ +//===-- X86ELFWriterInfo.h - ELF Writer Info for X86 ------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by Bill Wendling and is distributed under the +// University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file implements ELF writer information for the X86 backend. +// +//===----------------------------------------------------------------------===// + +#ifndef X86_ELF_WRITER_INFO_H +#define X86_ELF_WRITER_INFO_H + +#include "llvm/Target/TargetELFWriterInfo.h" + +namespace llvm { + + class X86ELFWriterInfo : public TargetELFWriterInfo { + public: + X86ELFWriterInfo(); + virtual ~X86ELFWriterInfo() {} + }; + +} // end llvm namespace + +#endif // X86_ELF_WRITER_INFO_H |
