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 | 6fe6084ebfa583fbbfbb971fca1d90de79ddb33f (patch) | |
tree | 55645fdd070741ded3e3c9fe5802633bc6fefd4f /lib/Target/PowerPC/PPCTargetMachine.cpp | |
parent | e119691885ba1be5e372078c8d9654fb01c16b7f (diff) |
We actually do support object file writing, so don't return true (error)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCTargetMachine.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index ac20022d50..9075abc7db 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/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)); |