mingw-libffi/libffi-aarch64-rhbz1174037.patch
Fabiano Fidêncio f6214e6a62 Add the same patches from its native counter part
Resolves: rhbz#1740764

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
2019-08-14 10:20:05 +02:00

12 lines
378 B
Diff

--- libffi-3.1/src/aarch64/ffi.c.orig 2014-04-25 18:45:13.000000000 +0100
+++ libffi-3.1/src/aarch64/ffi.c 2015-01-15 02:36:56.314906455 +0000
@@ -728,7 +728,7 @@
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;