diff options
author | Wesley Peck <peckw@wesleypeck.com> | 2010-10-22 15:52:49 +0000 |
---|---|---|
committer | Wesley Peck <peckw@wesleypeck.com> | 2010-10-22 15:52:49 +0000 |
commit | eecb858ca86fa949c06f819d6127e2ac68d165c8 (patch) | |
tree | 26929dff56c468f9ed3a98f7e08394259d17f59f /include | |
parent | a13d14a1290bc2c8b2e25a51ec4ae4e9bc8cd215 (diff) | |
download | external_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.h | 3 |
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(); |