mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
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
This commit is contained in:
@ -130,7 +130,7 @@ bool PPCTargetMachine::addObjectWriter(FunctionPassManager &PM, bool Fast,
|
|||||||
std::ostream &Out) {
|
std::ostream &Out) {
|
||||||
// FIXME: support PPC ELF files at some point
|
// FIXME: support PPC ELF files at some point
|
||||||
addPPCMachOObjectWriterPass(PM, Out, *this);
|
addPPCMachOObjectWriterPass(PM, Out, *this);
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PPCTargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
|
bool PPCTargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
|
||||||
@ -139,8 +139,6 @@ bool PPCTargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
|
|||||||
// FIXME: This should be moved to TargetJITInfo!!
|
// FIXME: This should be moved to TargetJITInfo!!
|
||||||
setRelocationModel(Reloc::Static);
|
setRelocationModel(Reloc::Static);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Machine code emitter pass for PowerPC.
|
// Machine code emitter pass for PowerPC.
|
||||||
PM.add(createPPCCodeEmitterPass(*this, MCE));
|
PM.add(createPPCCodeEmitterPass(*this, MCE));
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user