We actually do support object file writing, so don't return true (error)

llvm-svn: 30173
This commit is contained in:
Nate Begeman 2006-09-08 03:42:15 +00:00
parent 5988288494
commit c9db83306f
1 changed files with 1 additions and 3 deletions

View File

@ -130,7 +130,7 @@ bool PPCTargetMachine::addObjectWriter(FunctionPassManager &PM, bool Fast,
std::ostream &Out) {
// FIXME: support PPC ELF files at some point
addPPCMachOObjectWriterPass(PM, Out, *this);
return true;
return false;
}
bool PPCTargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
@ -138,8 +138,6 @@ bool PPCTargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
// The JIT should use the static relocation model.
// FIXME: This should be moved to TargetJITInfo!!
setRelocationModel(Reloc::Static);
// Machine code emitter pass for PowerPC.
PM.add(createPPCCodeEmitterPass(*this, MCE));