summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-24 03:16:53 +0000
committerChris Lattner <sabre@nondot.org>2009-07-24 03:16:53 +0000
commit74b81171347a18017eeb810c7809269f612c00fd (patch)
tree55ada2fd6fde5dd7d84940b286236c5c1607c5c3 /llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
parentbc63d8bfbfc6cf93fb03363a47ecc46310ec9cd2 (diff)
downloadbcm5719-llvm-74b81171347a18017eeb810c7809269f612c00fd.tar.gz
bcm5719-llvm-74b81171347a18017eeb810c7809269f612c00fd.zip
remove more bits of small section support.
llvm-svn: 76937
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp b/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
index f7a0acb8e54..4f1d2079269 100644
--- a/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
+++ b/llvm/lib/Target/Mips/MipsTargetAsmInfo.cpp
@@ -17,8 +17,8 @@
using namespace llvm;
-MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM):
- ELFTargetAsmInfo(TM) {
+MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM)
+ : ELFTargetAsmInfo(TM) {
AlignmentIsInBytes = false;
COMMDirectiveTakesAlignment = true;
@@ -32,13 +32,8 @@ MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM):
BSSSection = "\t.section\t.bss";
CStringSection = ".rodata.str";
- if (!TM.getSubtarget<MipsSubtarget>().hasABICall()) {
+ if (!TM.getSubtarget<MipsSubtarget>().hasABICall())
JumpTableDirective = "\t.word\t";
- SmallDataSection = getNamedSection("\t.sdata", SectionFlags::Writeable);
- SmallBSSSection = getNamedSection("\t.sbss",
- SectionFlags::Writeable |
- SectionFlags::BSS);
- } else {
+ else
JumpTableDirective = "\t.gpword\t";
- }
}
OpenPOWER on IntegriCloud