summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-22 23:27:22 +0000
committerChris Lattner <sabre@nondot.org>2009-07-22 23:27:22 +0000
commitd2aeef0703f6c752b7215e551ce219e2971b42e3 (patch)
tree7f4fab674508dcfc732e09b412497640b3d9002e /llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
parent824ab403811b1bc2330506efa20146e08c1972a0 (diff)
downloadbcm5719-llvm-d2aeef0703f6c752b7215e551ce219e2971b42e3.tar.gz
bcm5719-llvm-d2aeef0703f6c752b7215e551ce219e2971b42e3.zip
remove SectionFlags::Small: it is only used on Xcore, and we'll find
a better solution for it in the future. llvm-svn: 76818
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp b/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
index c197b0c2981..f086db02d26 100644
--- a/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
+++ b/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
@@ -45,14 +45,6 @@ MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM):
}
-unsigned MipsTargetAsmInfo::
-SectionFlagsForGlobal(const GlobalValue *GV, const char* Name) const {
- unsigned Flags = ELFTargetAsmInfo::SectionFlagsForGlobal(GV, Name);
- // Mask out Small Section flag bit, Mips doesnt support 's' section symbol
- // for its small sections.
- return (Flags & (~SectionFlags::Small));
-}
-
SectionKind::Kind MipsTargetAsmInfo::
SectionKindForGlobal(const GlobalValue *GV) const {
SectionKind::Kind K = ELFTargetAsmInfo::SectionKindForGlobal(GV);
OpenPOWER on IntegriCloud