From e7017c4a5617943903cfe1f1bdac897fe7b88e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 17 Jun 2020 15:11:27 +0200 Subject: [PATCH] libport: Remove support for PPC32. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Hentschel Signed-off-by: Alexandre Julliard --- libs/wine/port.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/libs/wine/port.c b/libs/wine/port.c index fb749bb75ec..618b280881e 100644 --- a/libs/wine/port.c +++ b/libs/wine/port.c @@ -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 */