diff options
author | Nate Begeman <natebegeman@mac.com> | 2006-09-08 03:42:15 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2006-09-08 03:42:15 +0000 |
commit | c9db83306f21d7ddc8049574f5b88157e2bf966c (patch) | |
tree | 3fc17d5a809ef2cb558bb305e8722d255ea25d33 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | |
parent | 5988288494af6186991024164c88136f2cc32eb7 (diff) | |
download | bcm5719-llvm-c9db83306f21d7ddc8049574f5b88157e2bf966c.tar.gz bcm5719-llvm-c9db83306f21d7ddc8049574f5b88157e2bf966c.zip |
We actually do support object file writing, so don't return true (error)
llvm-svn: 30173
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp index ac20022d50e..9075abc7db0 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -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)); |