summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ELFTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-24 03:11:51 +0000
committerChris Lattner <sabre@nondot.org>2009-07-24 03:11:51 +0000
commit26aff56462967694e3d5aac9cef035b581a8ebf0 (patch)
treec0efe0f78f1d734d83fefce48e25311186398307 /llvm/lib/Target/ELFTargetAsmInfo.cpp
parentd9baf6aed8e63a77cfa7dbf92c7a7a02d896244a (diff)
downloadbcm5719-llvm-26aff56462967694e3d5aac9cef035b581a8ebf0.tar.gz
bcm5719-llvm-26aff56462967694e3d5aac9cef035b581a8ebf0.zip
Remove SectionKind::Small*. This was only used on mips, and is apparently
a sad mistake that is regretted. :) llvm-svn: 76935
Diffstat (limited to 'llvm/lib/Target/ELFTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/ELFTargetAsmInfo.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/ELFTargetAsmInfo.cpp b/llvm/lib/Target/ELFTargetAsmInfo.cpp
index 8cadb530793..9e7bb4aee26 100644
--- a/llvm/lib/Target/ELFTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ELFTargetAsmInfo.cpp
@@ -102,8 +102,6 @@ ELFTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV) const {
} else {
switch (Kind) {
case SectionKind::Data:
- case SectionKind::SmallData:
- return DataSection;
case SectionKind::DataRel:
return DataRelSection;
case SectionKind::DataRelLocal:
@@ -113,11 +111,8 @@ ELFTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV) const {
case SectionKind::DataRelROLocal:
return DataRelROLocalSection;
case SectionKind::BSS:
- case SectionKind::SmallBSS:
- // ELF targets usually have BSS sections
return getBSSSection_();
case SectionKind::ROData:
- case SectionKind::SmallROData:
return getReadOnlySection();
case SectionKind::RODataMergeStr:
return MergeableStringSection(GVar);
OpenPOWER on IntegriCloud