aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:15:21 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:15:21 +0000
commitd7ca416d6c9ae1966e0df8193112e3c5f430a053 (patch)
tree5e9f68cd2a027c2265c55447954bfcbc38d641cc /lib/Target/PowerPC
parentc25e1ea5e9aa54952b6736a9579e25a5c2d8139f (diff)
downloadexternal_llvm-d7ca416d6c9ae1966e0df8193112e3c5f430a053.zip
external_llvm-d7ca416d6c9ae1966e0df8193112e3c5f430a053.tar.gz
external_llvm-d7ca416d6c9ae1966e0df8193112e3c5f430a053.tar.bz2
Get rid of duplicate char*/Section* TextSection
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
index 2d9ecbd..f21cb4e 100644
--- a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
@@ -637,7 +637,7 @@ bool PPCLinuxAsmPrinter::doInitialization(Module &M) {
// GNU as handles section names wrapped in quotes
Mang->setUseQuotes(true);
- SwitchToTextSection(TAI->getTextSection());
+ SwitchToSection(TAI->getTextSection());
return Result;
}
@@ -864,7 +864,7 @@ bool PPCDarwinAsmPrinter::doInitialization(Module &M) {
SwitchToTextSection("\t.section __TEXT,__symbol_stub1,symbol_stubs,"
"pure_instructions,16");
}
- SwitchToTextSection(TAI->getTextSection());
+ SwitchToSection(TAI->getTextSection());
return Result;
}