summaryrefslogtreecommitdiff
path: root/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-01-23 04:43:11 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-01-23 04:43:11 +0000
commit1c13026e8f94bd332c0979baa9c777da99d48736 (patch)
treef946be856788a5df9d7c6754818ef0452ffa2851 /lib/Target/MBlaze/MBlazeTargetObjectFile.cpp
parent907b56ce7ab26222fa128d5062f8dddf11c81603 (diff)
downloadllvm-1c13026e8f94bd332c0979baa9c777da99d48736.tar.gz
llvm-1c13026e8f94bd332c0979baa9c777da99d48736.tar.bz2
llvm-1c13026e8f94bd332c0979baa9c777da99d48736.tar.xz
Remove more duplicated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze/MBlazeTargetObjectFile.cpp')
-rw-r--r--lib/Target/MBlaze/MBlazeTargetObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp b/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp
index a9c152dc95..abd1b0b62c 100644
--- a/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp
+++ b/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp
@@ -25,12 +25,12 @@ Initialize(MCContext &Ctx, const TargetMachine &TM) {
SmallDataSection =
getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
- MCSectionELF::SHF_WRITE |MCSectionELF::SHF_ALLOC,
+ ELF::SHF_WRITE |ELF::SHF_ALLOC,
SectionKind::getDataRel());
SmallBSSSection =
getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
- MCSectionELF::SHF_WRITE |MCSectionELF::SHF_ALLOC,
+ ELF::SHF_WRITE |ELF::SHF_ALLOC,
SectionKind::getBSS());
}