[llvm-commits] Stub calls in Linux/PPC

Nicolas Geoffray nicolas.geoffray at lip6.fr
Wed May 23 06:55:42 PDT 2007


Here's a patch to make stubs work in linux/ppc. I'll commit it if
there's no objection.

Chris: Just a question. I noticed on cvsweb that you wrote the lines:
     MCE.emitWordBE(0x9421ffe0);     // stwu r1,-32(r1)
     MCE.emitWordBE(0x7d6802a6);     // mflr r11
     MCE.emitWordBE(0x91610028);     // stw r11, 40(r1)

Why 32 when calling the stub?


Cheers,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LinuxPPCStub.patch
Type: text/x-patch
Size: 4776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070523/ef661820/attachment.bin>


More information about the llvm-commits mailing list