git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov
2008-08-07 09:52:13 +00:00
parent 4578862dcc
commit 003bcab8f3

View File

@@ -120,9 +120,9 @@ namespace {
#include "IA64GenAsmWriter.inc" #include "IA64GenAsmWriter.inc"
// Substitute old hook with new one temporary
std::string IA64AsmPrinter::getSectionForFunction(const Function &F) const { std::string IA64AsmPrinter::getSectionForFunction(const Function &F) const {
// This means "Allocated instruXions in mem, initialized". return TAI->SectionForGlobal(&F);
return "\n\t.section .text, \"ax\", \"progbits\"\n";
} }
/// runOnMachineFunction - This uses the printMachineInstruction() /// runOnMachineFunction - This uses the printMachineInstruction()
@@ -356,5 +356,3 @@ FunctionPass *llvm::createIA64CodePrinterPass(std::ostream &o,
IA64TargetMachine &tm) { IA64TargetMachine &tm) {
return new IA64AsmPrinter(o, tm, tm.getTargetAsmInfo()); return new IA64AsmPrinter(o, tm, tm.getTargetAsmInfo());
} }