PIC support for PowerPC
authorpho@cielonegro.org <unknown>
Sat, 8 May 2010 14:39:00 +0000 (14:39 +0000)
committerpho@cielonegro.org <unknown>
Sat, 8 May 2010 14:39:00 +0000 (14:39 +0000)
commit1414e10a1470061e850b7ce2aa6350a428ade2e9
tree4e38485aa9142c6dbfeeadcb08a63481634cbfcb
parentc5af8d12b7a6e67f31b4792c1ebe3dc53326c1f3
PIC support for PowerPC

PPC.CodeGen.getRegister was not properly handling PicBaseReg.
It seems working with this patch, but I'm not sure this change is correct.
compiler/nativeGen/PPC/CodeGen.hs