summaryrefslogtreecommitdiff
path: root/system/libffi/long-double-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/libffi/long-double-size.patch')
-rw-r--r--system/libffi/long-double-size.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/system/libffi/long-double-size.patch b/system/libffi/long-double-size.patch
new file mode 100644
index 000000000..8f04496eb
--- /dev/null
+++ b/system/libffi/long-double-size.patch
@@ -0,0 +1,44 @@
+--- libffi-3.4.2/testsuite/libffi.closures/huge_struct.c.old 2021-06-27 10:17:08.000000000 -0500
++++ libffi-3.4.2/testsuite/libffi.closures/huge_struct.c 2022-05-05 03:22:39.842515657 -0500
+@@ -6,7 +6,7 @@
+ */
+
+ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
+-/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */
++/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */
+ /* { dg-options -Wformat=0 { target moxie*-*-elf or1k-*-* } } */
+
+ #include <inttypes.h>
+--- libffi-3.4.2/testsuite/libffi.closures/cls_longdouble.c.old 2021-06-27 10:17:08.000000000 -0500
++++ libffi-3.4.2/testsuite/libffi.closures/cls_longdouble.c 2022-05-05 03:22:48.131612271 -0500
+@@ -7,7 +7,7 @@
+ /* This test is known to PASS on armv7l-unknown-linux-gnueabihf, so I have
+ remove the xfail for arm*-*-* below, until we know more. */
+ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
+-/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */
++/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */
+
+ #include "ffitest.h"
+
+--- libffi-3.4.2/testsuite/libffi.closures/cls_align_longdouble_split.c.old 2021-06-27 10:17:08.000000000 -0500
++++ libffi-3.4.2/testsuite/libffi.closures/cls_align_longdouble_split.c 2022-05-05 03:22:55.740782984 -0500
+@@ -5,7 +5,7 @@
+ Originator: <hos@tamanegi.org> 20031203 */
+
+ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
+-/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */
++/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */
+
+ #include "ffitest.h"
+
+--- libffi-3.4.2/testsuite/libffi.closures/cls_align_longdouble_split2.c.old 2021-06-27 10:17:08.000000000 -0500
++++ libffi-3.4.2/testsuite/libffi.closures/cls_align_longdouble_split2.c 2022-05-05 03:23:00.930217413 -0500
+@@ -6,7 +6,7 @@
+ */
+
+ /* { dg-do run { xfail strongarm*-*-* } } */
+-/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */
++/* { dg-options -mlong-double-128 { target powerpc64*-*-linux-gnu* } } */
+
+ #include "ffitest.h"
+