libport: Remove support for PPC32.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c0e3a265b5
commit
e7017c4a56
|
@ -114,23 +114,6 @@ __ASM_GLOBAL_FUNC( wine_call_on_stack_obsolete,
|
|||
__ASM_CFI(".cfi_adjust_cfa_offset -8\n\t")
|
||||
__ASM_CFI(".cfi_same_value %rbp\n\t")
|
||||
"ret")
|
||||
#elif defined(__powerpc__) && defined(__GNUC__)
|
||||
__ASM_GLOBAL_FUNC( wine_call_on_stack_obsolete,
|
||||
"mflr 0\n\t" /* get return address */
|
||||
"stw 0, 4(1)\n\t" /* save return address */
|
||||
"subi 5, 5, 16\n\t" /* reserve space on new stack */
|
||||
"stw 1, 12(5)\n\t" /* store old sp */
|
||||
"mtctr 3\n\t" /* func -> ctr */
|
||||
"mr 3,4\n\t" /* args -> function param 1 (r3) */
|
||||
"mr 1,5\n\t" /* stack */
|
||||
"li 0, 0\n\t" /* zero */
|
||||
"stw 0, 0(1)\n\t" /* bottom of stack */
|
||||
"stwu 1, -16(1)\n\t" /* create a frame for this function */
|
||||
"bctrl\n\t" /* call ctr */
|
||||
"lwz 1, 28(1)\n\t" /* fetch old sp */
|
||||
"lwz 0, 4(1)\n\t" /* fetch return address */
|
||||
"mtlr 0\n\t" /* return address -> lr */
|
||||
"blr") /* return */
|
||||
#elif defined(__arm__) && defined(__GNUC__)
|
||||
__ASM_GLOBAL_FUNC( wine_call_on_stack_obsolete,
|
||||
"push {r4,LR}\n\t" /* save return address on stack */
|
||||
|
|
Loading…
Reference in New Issue