summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-23 18:42:32 -0500
committerGitHub <noreply@github.com>2022-05-23 19:42:32 -0400
commite504f90fe9123d256f6bc556badb25d1d0aa7046 (patch)
tree2782832213f254a9ac81bba4fa0e719952f78d9c /testsuite
parentf3e61d497a5ddc3bbe506e0554a0be421f6f0f35 (diff)
downloadlibffi-e504f90fe9123d256f6bc556badb25d1d0aa7046.tar.gz
testsuite/libffi.closures: Fix PowerPC 64 (#709)
-mlong-double-128 is only supported on glibc. This test still passes on glibc targets, and now passes on musl targets as well (which uses 64-bit ldbl).
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/libffi.closures/cls_align_longdouble_split.c2
-rw-r--r--testsuite/libffi.closures/cls_align_longdouble_split2.c2
-rw-r--r--testsuite/libffi.closures/cls_longdouble.c2
-rw-r--r--testsuite/libffi.closures/huge_struct.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/libffi.closures/cls_align_longdouble_split.c b/testsuite/libffi.closures/cls_align_longdouble_split.c
index fe874c2..128d6e1 100644
--- a/testsuite/libffi.closures/cls_align_longdouble_split.c
+++ b/testsuite/libffi.closures/cls_align_longdouble_split.c
@@ -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"
diff --git a/testsuite/libffi.closures/cls_align_longdouble_split2.c b/testsuite/libffi.closures/cls_align_longdouble_split2.c
index 88d239d..3562a57 100644
--- a/testsuite/libffi.closures/cls_align_longdouble_split2.c
+++ b/testsuite/libffi.closures/cls_align_longdouble_split2.c
@@ -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"
diff --git a/testsuite/libffi.closures/cls_longdouble.c b/testsuite/libffi.closures/cls_longdouble.c
index 2023172..2cfac4b 100644
--- a/testsuite/libffi.closures/cls_longdouble.c
+++ b/testsuite/libffi.closures/cls_longdouble.c
@@ -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"
diff --git a/testsuite/libffi.closures/huge_struct.c b/testsuite/libffi.closures/huge_struct.c
index 6dc631f..63353e3 100644
--- a/testsuite/libffi.closures/huge_struct.c
+++ b/testsuite/libffi.closures/huge_struct.c
@@ -6,7 +6,7 @@
*/
/* { dg-do run { xfail strongarm*-*-* xscale*-*-* wasm32*-*-* } } */
-/* { 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>