summaryrefslogtreecommitdiff
path: root/lib/MC/MCELFObjectTargetWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-12-21 17:00:36 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-12-21 17:00:36 +0000
commitdc9a8a378daf432d8dcfc178507afe149706f9a6 (patch)
tree85cd35484f314f9f704e492d939bedc02958f3ce /lib/MC/MCELFObjectTargetWriter.cpp
parentd4304031cb465ca85e2bebb352b7cde5a92a1c39 (diff)
downloadllvm-dc9a8a378daf432d8dcfc178507afe149706f9a6.tar.gz
llvm-dc9a8a378daf432d8dcfc178507afe149706f9a6.tar.bz2
llvm-dc9a8a378daf432d8dcfc178507afe149706f9a6.tar.xz
Reduce the exposure of Triple::OSType in the ELF object writer. This will
avoid including ADT/Triple.h in many places when the target specific bits are moved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCELFObjectTargetWriter.cpp')
-rw-r--r--lib/MC/MCELFObjectTargetWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCELFObjectTargetWriter.cpp b/lib/MC/MCELFObjectTargetWriter.cpp
index 12a02a9e97..1d5698dd45 100644
--- a/lib/MC/MCELFObjectTargetWriter.cpp
+++ b/lib/MC/MCELFObjectTargetWriter.cpp
@@ -12,10 +12,10 @@
using namespace llvm;
MCELFObjectTargetWriter::MCELFObjectTargetWriter(bool Is64Bit_,
- Triple::OSType OSType_,
+ uint8_t OSABI_,
uint16_t EMachine_,
bool HasRelocationAddend_)
- : OSType(OSType_), EMachine(EMachine_),
+ : OSABI(OSABI_), EMachine(EMachine_),
HasRelocationAddend(HasRelocationAddend_), Is64Bit(Is64Bit_) {
}