Sketch out PowerPC ELF writer. This is enough to get clang -integrated-as

to compile a working hello world on FreeBSD/PPC32.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136689 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Roman Divacky
2011-08-02 15:51:38 +00:00
parent 086da7e680
commit 2c0d69fad0
5 changed files with 173 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ static MCStreamer *createMCStreamer(const Target &T, StringRef TT,
if (Triple(TT).isOSDarwin())
return createMachOStreamer(Ctx, MAB, OS, Emitter, RelaxAll);
return NULL;
return createELFStreamer(Ctx, MAB, OS, Emitter, RelaxAll, NoExecStack);;
}
static MCInstPrinter *createPPCMCInstPrinter(const Target &T,