mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user