[PATCH] libport: Add wine_call_on_stack_obsolete fallback for other architectures
Signed-off-by: André Hentschel <nerv(a)dawncrow.de> --- libs/wine/port.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/wine/port.c b/libs/wine/port.c index 618b280881e..0e7dcc88d91 100644 --- a/libs/wine/port.c +++ b/libs/wine/port.c @@ -137,6 +137,11 @@ __ASM_GLOBAL_FUNC( wine_call_on_stack_obsolete, "ldr x19, [sp,#16]\n\t" /* restore register from stack */ "ldp x29, x30, [sp],#32\n\t" /* restore return address */ "ret") /* return */ +#else +int wine_call_on_stack_obsolete( int (*func)(void *), void *arg, void *stack ) +{ + return 0; +} #endif /*********************************************************************** -- 2.25.1
André Hentschel <nerv(a)dawncrow.de> writes:
Signed-off-by: André Hentschel <nerv(a)dawncrow.de> --- libs/wine/port.c | 5 +++++ 1 file changed, 5 insertions(+)
Other architectures don't need to worry about backwards compatibility. -- Alexandre Julliard julliard(a)winehq.org
Am 10.08.20 um 22:16 schrieb Alexandre Julliard:
André Hentschel <nerv(a)dawncrow.de> writes:
Signed-off-by: André Hentschel <nerv(a)dawncrow.de> --- libs/wine/port.c | 5 +++++ 1 file changed, 5 insertions(+)
Other architectures don't need to worry about backwards compatibility.
without the libport patch I get on ppc64le: /usr/bin/ld: libwine.so.1.0: no symbol version section for versioned symbol `wine_call_on_stack(a)WINE_1.0' I thought this would be an easy fix. What is your suggestion?
participants (2)
-
Alexandre Julliard -
André Hentschel