9877de58c4
- python-2.7.4-aarch64.patch: Remove obsolete patch - python-2.7-libffi-aarch64.patch: Fix argument passing in libffi for aarch64 OBS-URL: https://build.opensuse.org/request/show/266105 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=173
14 lines
526 B
Diff
14 lines
526 B
Diff
Index: Python-2.7.9/Modules/_ctypes/libffi/src/aarch64/ffi.c
|
|
===================================================================
|
|
--- Python-2.7.9.orig/Modules/_ctypes/libffi/src/aarch64/ffi.c
|
|
+++ Python-2.7.9/Modules/_ctypes/libffi/src/aarch64/ffi.c
|
|
@@ -728,7 +728,7 @@ aarch64_prep_args (struct call_context *
|
|
state.ngrn = N_X_ARG_REG;
|
|
|
|
memcpy (allocate_to_stack (&state, stack, ty->alignment,
|
|
- ty->size), ecif->avalue + i, ty->size);
|
|
+ ty->size), ecif->avalue[i], ty->size);
|
|
}
|
|
break;
|
|
|