[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
Nate Begeman
natebegeman at mac.com
Thu Sep 7 20:42:29 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCTargetMachine.cpp updated: 1.105 -> 1.106
---
Log message:
We actually do support object file writing, so don't return true (error)
---
Diffs of the changes: (+1 -3)
PPCTargetMachine.cpp | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.105 llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.106
--- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.105 Thu Sep 7 18:39:26 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp Thu Sep 7 22:42:15 2006
@@ -130,7 +130,7 @@
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 @@
// 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));
More information about the llvm-commits
mailing list