diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-08 20:40:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-08 20:40:11 +0000 |
commit | 22772214de79aa1c5ca38c4fb1da137d8fb30a05 (patch) | |
tree | c34a68b9f15d76d8830fa5242a99afe3a55f5de6 /lib/Target/ARM/AsmPrinter | |
parent | f0559e4b242e85d4b9d1dd08758814c599bdce13 (diff) | |
download | external_llvm-22772214de79aa1c5ca38c4fb1da137d8fb30a05.zip external_llvm-22772214de79aa1c5ca38c4fb1da137d8fb30a05.tar.gz external_llvm-22772214de79aa1c5ca38c4fb1da137d8fb30a05.tar.bz2 |
remove the TargetLoweringObjectFileMachO::getMachoSection
api and update clients to use MCContext instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmPrinter')
-rw-r--r-- | lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index 15c5294..6657d1f 100644 --- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -1136,15 +1136,15 @@ void ARMAsmPrinter::EmitStartOfAsmFile(Module &M) { OutStreamer.SwitchSection(TLOFMacho.getConstTextCoalSection()); if (RelocM == Reloc::DynamicNoPIC) { const MCSection *sect = - TLOFMacho.getMachOSection("__TEXT", "__symbol_stub4", - MCSectionMachO::S_SYMBOL_STUBS, - 12, SectionKind::getText()); + OutContext.getMachOSection("__TEXT", "__symbol_stub4", + MCSectionMachO::S_SYMBOL_STUBS, + 12, SectionKind::getText()); OutStreamer.SwitchSection(sect); } else { const MCSection *sect = - TLOFMacho.getMachOSection("__TEXT", "__picsymbolstub4", - MCSectionMachO::S_SYMBOL_STUBS, - 16, SectionKind::getText()); + OutContext.getMachOSection("__TEXT", "__picsymbolstub4", + MCSectionMachO::S_SYMBOL_STUBS, + 16, SectionKind::getText()); OutStreamer.SwitchSection(sect); } } |