André Hentschel : libport: Remove support for PPC32.

Alexandre Julliard julliard at winehq.org
Wed Jun 17 15:54:02 CDT 2020


Module: wine
Branch: master
Commit: e7017c4a5617943903cfe1f1bdac897fe7b88e95
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e7017c4a5617943903cfe1f1bdac897fe7b88e95

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jun 17 15:11:27 2020 +0200

libport: Remove support for PPC32.

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/wine/port.c | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/libs/wine/port.c b/libs/wine/port.c
index fb749bb75e..618b280881 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 */




More information about the wine-cvs mailing list