diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-27 06:17:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-27 06:17:14 +0000 |
commit | 86b7255776646e6a185ccf1dca5a07ec14ca0dd2 (patch) | |
tree | 90030a1fbb07ace6e8aecf78d03d44d0641b82f4 /llvm/lib/Target/Sparc | |
parent | b7130ed888483494474650f5f6b8e9f547baa5c8 (diff) | |
download | bcm5719-llvm-86b7255776646e6a185ccf1dca5a07ec14ca0dd2.tar.gz bcm5719-llvm-86b7255776646e6a185ccf1dca5a07ec14ca0dd2.zip |
Eliminate getNamed/getUnnamedSection, adding a new and unified getOrCreateSection
instead.
llvm-svn: 77186
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcTargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcTargetAsmInfo.cpp b/llvm/lib/Target/Sparc/SparcTargetAsmInfo.cpp index 4bcaec00053..59897e65e81 100644 --- a/llvm/lib/Target/Sparc/SparcTargetAsmInfo.cpp +++ b/llvm/lib/Target/Sparc/SparcTargetAsmInfo.cpp @@ -27,7 +27,7 @@ SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(const TargetMachine &TM) CStringSection=".rodata.str"; // Sparc normally uses named section for BSS. - BSSSection_ = getNamedSection("\t.bss", SectionKind::BSS); + BSSSection_ = getOrCreateSection("\t.bss", true, SectionKind::BSS); } |