diff options
Diffstat (limited to 'lib/Target/PIC16/PIC16AsmPrinter.cpp')
-rw-r--r-- | lib/Target/PIC16/PIC16AsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PIC16/PIC16AsmPrinter.cpp b/lib/Target/PIC16/PIC16AsmPrinter.cpp index 604d1050d4..596ec7a32b 100644 --- a/lib/Target/PIC16/PIC16AsmPrinter.cpp +++ b/lib/Target/PIC16/PIC16AsmPrinter.cpp @@ -73,7 +73,7 @@ bool PIC16AsmPrinter::runOnMachineFunction(MachineFunction &MF) { const MCSection *fCodeSection = getObjFileLowering().getOrCreateSection(codeSection, false, - SectionKind::Text); + SectionKind::get(SectionKind::Text)); // Start the Code Section. O << "\n"; SwitchToSection(fCodeSection); @@ -350,7 +350,7 @@ void PIC16AsmPrinter::EmitFunctionFrame(MachineFunction &MF) { const MCSection *fPDataSection = getObjFileLowering().getOrCreateSection(SectionName, false, - SectionKind::DataRel); + SectionKind::get(SectionKind::DataRel)); SwitchToSection(fPDataSection); // Emit function frame label |