aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2010-10-22 15:52:49 +0000
committerWesley Peck <peckw@wesleypeck.com>2010-10-22 15:52:49 +0000
commiteecb858ca86fa949c06f819d6127e2ac68d165c8 (patch)
tree26929dff56c468f9ed3a98f7e08394259d17f59f /include
parenta13d14a1290bc2c8b2e25a51ec4ae4e9bc8cd215 (diff)
downloadexternal_llvm-eecb858ca86fa949c06f819d6127e2ac68d165c8.zip
external_llvm-eecb858ca86fa949c06f819d6127e2ac68d165c8.tar.gz
external_llvm-eecb858ca86fa949c06f819d6127e2ac68d165c8.tar.bz2
Making the e_machine configurable by the target backend in ELFObjectWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/ELFObjectWriter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/MC/ELFObjectWriter.h b/include/llvm/MC/ELFObjectWriter.h
index aba8b49..ce52c50 100644
--- a/include/llvm/MC/ELFObjectWriter.h
+++ b/include/llvm/MC/ELFObjectWriter.h
@@ -27,7 +27,8 @@ class ELFObjectWriter : public MCObjectWriter {
public:
ELFObjectWriter(raw_ostream &OS, bool Is64Bit, Triple::OSType OSType,
- bool IsLittleEndian = true, bool HasRelocationAddend = true);
+ uint16_t EMachine, bool IsLittleEndian = true,
+ bool HasRelocationAddend = true);
virtual ~ELFObjectWriter();